0
Not a bug

SFN_Fresnel Console Errors

stephen 8 jaar geleden bijgewerkt door Freya Holmér (Developer) 8 jaar geleden 1

I'm running Unity 5.3.4f1 and just updated to Shader Forge 1.34. After doing so, my shaders all turned pink and got a list of errors in the console:


Shader error in 'Hidden/Shader Forge/SFN_Fresnel_NRM_EXP': undeclared identifier 'unity_ObjectToWorld' at line 35 (on d3d11)


Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING


This appears for SFN_Fresnel_NRM_EXP and SFN_Fresnel_REQONLY (line 37). The above errors do not occur when the shader is compiled in 1.34 on Unity 5.5.


Antwoord

Antwoord
Not a bug

Shader Forge 1.34 is for Unity 5.5.0f3 and above only I'm afraid. For more details on version info, check the changelog: http://acegikmo.com/shaderforge/changelog/

Antwoord
Not a bug

Shader Forge 1.34 is for Unity 5.5.0f3 and above only I'm afraid. For more details on version info, check the changelog: http://acegikmo.com/shaderforge/changelog/