Hi, I tried to use an user option as mentioned in the docs and check in my shader for pass name:
Option "user" "string passname" ["beauty"]
printf("passname %s\n", passName);
normal nN = normalize(N);
if (passName == "beauty")
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?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.