Creating my first Shader
Hey everyone! So today I decided I´d try to create my first shader so I followed this tutorial - http://www.daz3d.com/forums/discussion/12429/
And I got almost to the end, I´m pretty happy I got that far however, when I click on "Compile Shader" I get an error and I have no idea where to start searching for the fix.
This is what I´m getting:
Tutorial.sl:58: ERROR: syntax error
Idotn = (normalize(L).___tV5;
^
Tutorial.sl:58: WARNING: compilation resumes here
Idotn = (normalize(L).___tV5;
^
Tutorial.sl' aborted due to errors: 1 errors, 1 warnings.
If anybody knows please let me know! thank you : )
Comments
Maybe you need another closed parentheses.... from just looking at the formula... I know nothing about creating shaders.
+1
What are closed parentheses? : )
try this
Idotn = (normalize(L).___tV5);
If you mean to put this into surface code then its already there.