How to get all of my textures...
...exactly twice as bright using DirectX. Or better:
I want to do my lighting using only vertex-colors. But I
have no chance to get brighter as the original texture-color. Any Ideas ?
Some kind of blending ? Perhaps some kind of lightmaps ?
NextS
Hi,
You could probably use specular lighting and set it to 0.5;0.5;0.5 at each vertex, and the D3DRENDERSTATE_SPECULAR renderstate to TRUE.
Greets Tobias
You could probably use specular lighting and set it to 0.5;0.5;0.5 at each vertex, and the D3DRENDERSTATE_SPECULAR renderstate to TRUE.
Greets Tobias
hi
You can blend the Texture with your Vertex color. That is the Standard for the first TextureStage, so you only need to use the Multiply2 Coloroperation, so set the
SetTextureStageState(0,D3DTSS_COLOROP,D3DTOP_MODULATE2X);
That should do it, there are other Values you can try aswell, so you can get many different Effects
Lars
Edited by - Lars W. on 4/6/00 5:44:21 AM
You can blend the Texture with your Vertex color. That is the Standard for the first TextureStage, so you only need to use the Multiply2 Coloroperation, so set the
SetTextureStageState(0,D3DTSS_COLOROP,D3DTOP_MODULATE2X);
That should do it, there are other Values you can try aswell, so you can get many different Effects
Lars
Edited by - Lars W. on 4/6/00 5:44:21 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement