Archived

This topic is now archived and is closed to further replies.

lightmapping

This topic is 4986 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. My application is outdoor terrain base. And set texture stage 1 for shadow texture. Now I''m trying to make some street lamp effect on it using light map. And I think light map will be set texture stage 2. Here''s my question. What if graphic card dose not support texture stage 2 (I mean only support stage0 and 1). What should I do for terrain Texture(Diffuse texture) + shadow texture + light map ? Any advice will be appreciated.

Share this post


Link to post
Share on other sites
How many cards that support only two texture stages are going to support shaders?

I would have though a simpler solution would be to do a second texture pass (i.e. render the geometry again, or at least the lit bit) and use multiply blending to combine the light map and what you have already drawn. This is what Quake series games did/do on cards without decent multitexture support.

Share this post


Link to post
Share on other sites