evgen Posted May 7, 2012 Share Posted May 7, 2012 Hello, could you help me, i am trying to get specular from area light source in vex, how to do that? Seems to me that i need to use sample_light for this , but how to use this function? Thanks Quote Link to comment Share on other sites More sharing options...
nord3d Posted May 8, 2012 Share Posted May 8, 2012 Hi, If I understood you correctly, you want a sharp, mirror-like specular? (Because, otherwise, you'd use some of Phnog - Blinn - approximations) If so, look at my example with intersect_lights VEX function: untitled-03.hipnc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.