Skip to main content
gamedev.net
🔒 Locked

lightmapping

Started by tsurudome Apr 21, 2004 at 12:14 AM 1 replies 500+ views
Original Post
tsurudome
tsurudome
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.
zoggo
zoggo
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.

Topic Locked

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

Sign in to reply to this topic.