Skip to main content
GameDev.net gamedev.net
🔒 Locked

Baked solution + pre-pass lighting question.

Started by vinnyhalts Dec 21, 2013 at 10:26 AM 1 replies 2.7k views
Original Post
vinnyhalts
vinnyhalts

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.

MJP
MJP

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.

vinnyhalts
vinnyhalts

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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.