Textures too bright

Started by
1 comment, last by mdfmKoRn 22 years, 3 months ago
I noticed when placing my texture on a 256x256 quad in Direct3d 8 that it mixed with the diffuse color of the verticies, 0xffffffff, and made the texture slightly too bright. Is there way around this or do I just have to mess with the diffuse color of the verticies? I would really like to be able to use the colors from the texture. ---- Herb M. (mdfmKoRn) www.sky-meyg.com s3202@attbi.com Edited by - mdfmKoRn on December 25, 2001 3:45:20 PM Edited by - mdfmKoRn on December 25, 2001 3:47:49 PM
Advertisement
G''day!

SetTextureStageState(0,D3DTSS_COLOROP,D3DTOP_SELECTARG1);
SetTextureStageState(0,D3DTSS_COLORARG1,D3DTA_TEXTURE);

That will make the colour come solely from the texture.


Stay Casual,

Ken
Drunken Hyena
Stay Casual,KenDrunken Hyena
Thank you, Drunken Hyena. That will prove useful in the future. The problem was actually in my video card, though. I had to do a little gamma tweaking.


----
Herb M. (mdfmKoRn)
www.sky-meyg.com
s3202@attbi.com

This topic is closed to new replies.

Advertisement