Sign in to follow this  
vinnyhalts

Baked solution + pre-pass lighting question.

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this