0
En revisión

ShaderForge 1.36 fails to compile shader which LERPs normals. It attempts to use partZ before it is declared in code.

Lee Rosenbaum hace 8 años actualizado hace 8 años 2

Image 777

En revisión

Ah, this is because depth is always defined after normals, for some reason. In the meantime, you can probably do worldPos-cameraPos as a substitute for depth, for now. I'll see if I can get this fixed in the next version

Thanks for the quick response and solution! Very much appreciated.