0
Naprawione

Undeclared identifier 'normalDirection'

Andy Buchanan 8 lat temu zaktualizowano 8 lat temu 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! :-)


Odpowiedź

Odpowiedź
Naprawione

This has now been fixed in 1.25

W trakcie analizy

You can't currently use fresnel in the refraction node

Odpowiedź
Naprawione

This has now been fixed in 1.25

Excellent news. Thanks!