0
Corrigé

Undeclared identifier 'normalDirection'

Andy Buchanan il y a 8 ans mis à jour il y a 8 ans 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! :-)


Solution

Solution
Corrigé

This has now been fixed in 1.25

À l'étude

You can't currently use fresnel in the refraction node

Solution
Corrigé

This has now been fixed in 1.25

Excellent news. Thanks!