Original Post
I want to do 2D programming with Direct Graphics.(DX9) I defined FVF like this: struct CUSTOMVERTEX { float x,y,z,rhw; DWORD color; float u,v; }; yeah,since I still want to save the vertex color attribute so I can draw some lines or polygens without textures. However,when I rendered the polygens with texture(and I defined the color value for those vertices of course) the polygens' surface were mixed(or blended) the texture with the vertices color. What can I do to hide the 'background color' and only show the texture when it has texture?(I don't want a mixed result.)