1
Other Packages / Re: Tasharen Water
« on: July 16, 2014, 06:41:19 PM »
I was receiving this error:
Shader error in 'Tasharen/Water': 'tex2Dproj': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2Dproj(sampler2D, float4|half4|min10float4|min16float4) at line 131
So i fixed the problem by editing the shader in the line 130:
Before:
half3 projTC = UNITY_PROJ_COORD(IN.proj0);
After:
half4 projTC = UNITY_PROJ_COORD(IN.proj0);
Shader error in 'Tasharen/Water': 'tex2Dproj': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2Dproj(sampler2D, float4|half4|min10float4|min16float4) at line 131
So i fixed the problem by editing the shader in the line 130:
Before:
half3 projTC = UNITY_PROJ_COORD(IN.proj0);
After:
half4 projTC = UNITY_PROJ_COORD(IN.proj0);
