As soon as I implement the "if(passName…)", the renderer hangs. So I tried a printf() to check wether the variable is set correctly and I only get a (null) as result for passname. Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I tried to use an user option as mentioned in the docs and check in my shader for pass name:
Rib:
Shader:
As soon as I implement the "if(passName…)", the renderer hangs. So I tried a printf() to check wether the variable is set correctly and I only get a (null) as result for passname. Any ideas?