lightmapping

Started by
1 comment, last by tsurudome 20 years ago
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.
Advertisement
Pixel shaders.

Mark
Cornutopia Games
http://www.cornutopia.net
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.

This topic is closed to new replies.

Advertisement