Pink water use _Object2World instead

Note that unity_ObjectToWorld is used in several .shader files.
So far I have only changed the one in FXWaterPro.shader. If I have to change it in other places I’ll post that information.
// float4 wpos = mul (unity_ObjectToWorld, v.vertex);
float4 wpos = mul(_Object2World, v.vertex);

Privacy & Terms