You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shader error in 'FX/FlatShadedWaterWithEdgeBlend': undeclared identifier 'unity_ObjectToWorld' at line 83 (on d3d11) Compiling Vertex program with WATER_EDGEBLEND_ON Platform defines: UNITY_NO_SCREENSPACE_SHADOWS UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING
#1
Open
Girish006 opened this issue
Jul 21, 2016
· 1 comment
I fixed the problem in Unity 5.3 (Not Unity 5.4) by replacing unity_ObjectToWorld with _Object2World and unity_WorldToObject with _World2Object in FlatShadedWaterWithEdgeBlend.shader file
(You can see the comments at the beginning of FlatShadedWaterWithEdgeBlend.shader)
I'm getting this error, can u please have a look at it..
The text was updated successfully, but these errors were encountered: