Jump to content
  • Advertisement

Archived

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

tsurudome

lightmapping

This topic is 5199 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
Advertisement
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

  • 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!