Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
489 Discussions

Diffuse vertex color in vertex buffer

avagames
Beginner
665 Views
Hello all! Vertices can contain a diffuse color. I use such vertices to colorize meshes. When I set D3DTSS_COLORARG1 to diffuse and D3DTSS_COLOROP to SelectArg1 all should be drawn with the specified diffuse color (with lighting turned off, of course). And it does so, but not on Intel 82945G adapters. It seems that on i945 for some reason to each color component a value of 128 added to diffuse color prior to rendering. So the resulting color is a way brighter than expected. If I specify the diffuse color (oD0) in vertex shader all is rendered as expected. May be I'm missing something? Or is this a bug in driver? I'm using DirectX 8 on Windows XP SP2. Driver version 14.10
0 Kudos
1 Reply
Chuck_De_Sylva
Beginner
665 Views
Please email me directly. I'd like to see if I can reproduce on my end.
0 Kudos
Reply