0
À l'étude

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

Lee Rosenbaum il y a 8 ans mis à jour il y a 8 ans 2

Image 777

À l'étude

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.