+9

Error: Depth Blend as Vertex offset Input mask

raul barbosa 8 years ago updated by Juan De La Torre 8 years ago 2

When you use the Depth Blend node as a mask to Vertex offset it didn't compile. I recently discover with a little help of a friend, the "sceneZ" varible is not defined inside the fragment shader when the shader forge attempt to compile.


I am posting some images of the nodes, the error and the shader itself.


http://pastebin.com/McJnY7Wz


Image 610


+3

I've just run into the same problem as well.

+2

Same here! Any help?