0
Fixed

Undeclared identifier 'normalDirection'

Andy Buchanan 9 years ago updated 9 years ago 4

Shader error in 'Shader Forge/CubeMatSF': undeclared identifier 'normalDirection' at line 113


We have been unable to use a directional term with the refraction output. This is the case with both fresnel and manually calculated facing terms ( N.V ).



Image 478


Image 479

(I notice I'm also getting weird corruption on 1.24 ^ - Didn't get it on 1.20, but 1.20 has the normalDirection bug too)


Image 480


Image 481



This is a bit of a show stopper, any hints/fixes appreciated! :-)


Answer

Answer
Fixed

This has now been fixed in 1.25

Under review

You can't currently use fresnel in the refraction node

Answer
Fixed

This has now been fixed in 1.25

Excellent news. Thanks!