Jump to content
  • Advertisement
Sign in to follow this  
GeneralQuery

A simple question about instant radiosity (and lighting in general)

This topic is 2604 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I feel like I should know this but I'm stumped! Take a look at this image. It's an example of a VPL emitting green light as it has struck the green surface of the Cornell box (the black surface in this image). How do you ensure that the surface that the photon has struck (and is reemitting the colour of said surface) doesn't get lit by the VPL?

homepages.paradise.net.nz/nickamy/realtimerad/oneindirect_shadows.jpg

Share this post


Link to post
Share on other sites
Advertisement
I think you have to treat its VPL as a hemispherical light, you just include : dot(light_normal , vec) in your shading equation where vec is the normalized vector from light's position to the position of the point being shaded.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!