Closed Dawie3565 closed 5 months ago
detected change in ShaderGraphFunctions.hlsl shadergraph_LWBakedGI Note change from 2022.3.27 to 2022.3.28
<=2022.3.27 float3 shadergraph_LWBakedGI(float3 positionWS, float3 normalWS, float2 uvStaticLightmap, float2 uvDynamicLightmap, bool applyScaling)
>=2022.3.28 float3 shadergraph_LWBakedGI(float3 positionWS, float3 normalWS, uint2 positionSS, float2 uvStaticLightmap, float2 uvDynamicLightmap, bool applyScaling)
Fixed in v1.9.4.
--- Unity HDRP 2022.3.26
Unity change is specific to unity version in 14x cycle >=2022.3.26
Error : implicit truncation of vector type at line xxxx
change is found in \Runtime\ShaderLibrary**ShaderGraphFunctions.hlsl**
//////////////////////// <2022.3.26 float3 shadergraph_HDBakedGI(float3 positionWS, float3 normalWS, float2 uvStaticLightmap, float2 uvDynamicLightmap, bool applyScaling) {
if defined(__BUILTINGIUTILITIES_HLSL__)
else
endif
}
///////////////////////>=2022.3.26
float3 shadergraph_HDBakedGI(float3 positionRWS, float3 normalWS, uint2 positionSS, float2 uvStaticLightmap, float2 uvDynamicLightmap, bool applyScaling) {
if defined(__BUILTINGIUTILITIES_HLSL__)
else
endif
}