Basic ISL questions

General discussion about Indigo Materials - material requests, material developement, feedback, etc..
User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Basic ISL questions

Post by CTZn » Wed Aug 10, 2011 3:32 pm

maxCosTheta, correct. The returned values should be within the 0;1 range.

pow(x, 8 ) raises x to the power of 8. It's documented into the technical reference ! As Ono told, in the special case that you want to raise a number to the power of 2 it is more efficient to note x*x as "pow() is quite slow".

PS: nice site, this applet will come in handy.
obsolete asset

User avatar
Borgleader
Posts: 2149
Joined: Mon Jun 16, 2008 10:48 am

Re: Basic ISL questions

Post by Borgleader » Wed Aug 10, 2011 11:08 pm

Thanks :)
benn hired a mercenary to kill my sig...

Post Reply
17 posts

Who is online

Users browsing this forum: No registered users and 36 guests