|
problem with lightmaps
I have a voodoo3 card, but I am having a problem using 2 textures which my card should be able to do, but it works with Reference Rasterizer. Here is the code:
The texture is a white texture, and the light map has a dark cirle in the middle, the problem is in the first part, using the modulate to combine the texture with the material. Since the texture is white, and the material red, I should get a resulting red texture with a darker area in the center from the light map. But what i get is a white texture with a darker center. When I turn on reference rasterizer, the texture then turns red. So I know the code is done properly.
Also, If I just comment out the lightmap portion (2nd part), then modulation will work and will be red, so why doesnt it work when I turn on the lightmap portion? Why does it only do the first modulation of the texture with the material in reference rasterizer?
Possibility
Edited by - Possibility on June 13, 2001 2:09:22 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement