Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualNik02

Posted 05 June 2012 - 05:55 AM


If you assume that the normal is a normalized vector, you can pack it to a 2-element vector:

nz = 1.0 - nx - ny


Did you mean nz = sqrt(1.0 - nx2 - ny2) ?


Yea, sorry for the confusion.

#1Nik02

Posted 05 June 2012 - 05:51 AM


If you assume that the normal is a normalized vector, you can pack it to a 2-element vector:

nz = 1.0 - nx - ny


Did you mean nz = sqrt(1.0 - nx2 - ny2) ?


Yea

PARTNERS