urp_kawase_blur
urp_kawase_blur copied to clipboard
"Output Value 'frag' is not completely initialized on KawaseBlur shader Unity 2020.2.6f1 URP 10.3.2
ShaderGraph "Bathroom Glass" has many "implicit truncation of vector type" errors starting at line 308, as well as "conversion from larger type to smaller, possible loss of data " errors.
Blurred Glass scene just shows a flat surface, but it will run in Unity Editor with no console errors.
Thanks for this shader, if it works we can possibly use it for Vision assessment in children at hospitals.
Fixed warning by adding UNITY_INITIALIZE_OUTPUT(fixed4, col); to the KawaseBlur shader code, but still no effect visible for me, so I suspect its something else.
fixed4 frag (v2f input) : SV_Target { float2 res = _MainTex_TexelSize.xy; float i = _offset;
fixed4 col;
UNITY_INITIALIZE_OUTPUT(fixed4, col);