Sign in to follow this  
Shashi

rendering multiple lightmaps

Recommended Posts

Say I have a polygon, and its base texture. I have multiple lightmaps representing lights from different sources. Ii don't want to bake them into one lightmap; it would make shadow volume rendering close to impossible. Is there a way to render the multiple lightmaps onto each other real-time without the use of ARB extensions?

Share this post


Link to post
Share on other sites
Well all I can think of is doing it in mulitple passes provided that you already have the lightmaps. If you are speaking of creating the lightmaps on realtime as well then I am not sure how feasible it is. Maybe with a small 3D texture and some hacks, you could do quick and dirty dynamic lightmapping.

Share this post


Link to post
Share on other sites
The lightmaps aren't dynamic, they're all static but dependent on the light source. I figured I'd need multiple passes, but what blend function(s) would be suitable for this?

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