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

#ActualTasaq

Posted 12 April 2012 - 11:19 AM

The eye vector is a direction from the vertex/fragment to the camera. If you are working in view space the camera is in the position (0, 0, 0), consequently  the eye vector equals: normalize(- Position.xyz);

Thank You, that's realy helpful. I actually noticed now that's the first time I wanted to implement phong from View space, and I did it like for World space. I will try that and tell if I will make it correctly Posted Image

Btw I noticed just now that You are behind the final engine(I didn't look at sig in the morning), really impressive and good work Posted Image I am waiting to see more, keep this up:)

#1Tasaq

Posted 12 April 2012 - 11:18 AM

The eye vector is a direction from the vertex/fragment to the camera. If you are working in view space the camera is in the position (0, 0, 0), consequently  the eye vector equals: normalize(- Position.xyz);

Thank You, that's realy helpful. I actually noticed now that's the first time I wanted to implement phong from View space, and I did like for World space. I will try that and tell if I will make it correctly :)

Btw I noticed just now that You are behind the final engine(I didn't look at sig in the morning), really impressive and good work :) I am waiting to see more, keep this up:)

PARTNERS