0
Ülevaatamisel

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

Lee Rosenbaum 8 aastat tagasi uuendatud 8 aastat tagasi 2

Image 777

Ülevaatamisel

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.