Jump to content
  • Advertisement
Sign in to follow this  
vinnyhalts

Baked solution + pre-pass lighting question.

This topic is 1698 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

Hi, I have a pre-pass lighting setup but I was wondering if it can play nicely with baked parts? I want to have shadows, direct lighting, ambient occlusion, radiosity, etc all baked and then use spot/point lights for needed dynamic lighting. Things like a small overhead lights attached to the ceiling from a cable that will swing around when shot/moved.

 

Any input is valued, thanks.

Share this post


Link to post
Share on other sites
Advertisement

Yes, you can used baked lighting with a deferred rendering setup. In the case of a light prepass renderer, you'll probably want to sample your lightmaps during your second rendering pass, and combine the lightmap value with the results from your dynamic lighting render target.

Share this post


Link to post
Share on other sites

Yes, you can used baked lighting with a deferred rendering setup. In the case of a light prepass renderer, you'll probably want to sample your lightmaps during your second rendering pass, and combine the lightmap value with the results from your dynamic lighting render target.

That sounds like a good idea, thank you.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!