Jump to content
  • Advertisement
Sign in to follow this  
wpyax

light prepass

This topic is 3026 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 want to study the light prepass, but i can't understand by read the articles, where can i get some sample(source code)? PS: i use directX9 on PC.

Share this post


Link to post
Share on other sites
Advertisement
Sorry, i don't use qq at the work time.
Can you send e-mail to me ?
My e-mail address is wpyax@msn.com.
Can you send the source code to me ?

Share this post


Link to post
Share on other sites
You should have plenty of informations on the topic here :

http://www.realtimerendering.com/blog/deferred-lighting-approaches/#more-94

Share this post


Link to post
Share on other sites
I've been working on a light pre pass renderer lately. If you have any questions just ask them here and I'll try to help you out.

Share this post


Link to post
Share on other sites
Is it right that use a sphere volume to render the point light to light buffer?
why?
And what about the spot light?

Share this post


Link to post
Share on other sites
I would start by building a basic deferred renderer so that you understand all the concepts. From there it's pretty simple to extend it to use the LPP techniqe.

Share this post


Link to post
Share on other sites
Quote:
Original post by wpyax
Is it right that use a sphere volume to render the point light to light buffer?
why?
And what about the spot light?


Yes its fine to use a Sphere volume for point lights. Spot lights you can use a Cone, and for directional lights you use a full screen quad.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!