Easy vertex color question....
I have defined PositionColoredTextured verts and created a buffer out of them.
Next I draw to the device using the per vertex colors.
The next step I want is to override the vertex colors and draw with a custom color for all of the verts.
Question: is there an easy way to set a global vertex color override?
Thanks,
Devin
Shader processing using hlsl is something I was hoping to avoid but I do know how to do that. Thanks for the reminder :)
I was thinking there has got to be some renderstate or texturestate or something that allows for vertex color override isn't there?
-Devin
I was thinking there has got to be some renderstate or texturestate or something that allows for vertex color override isn't there?
-Devin
D3DRS_TEXTUREFACTOR = a dword ARGB color
D3DTA_TFACTOR = texture op argument to refer to TFACTOR.
Note some DX7 class cards don't have working support (ie: ATI RageProTurbo XPert98).
D3DTA_TFACTOR = texture op argument to refer to TFACTOR.
Note some DX7 class cards don't have working support (ie: ATI RageProTurbo XPert98).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement