First, I am drawing a textured polygon and then second a non textured
polygon. I got them both working if I just use textures. But, I can't seem
to get the second one to appear when I use a non textured poly.
I changed the vertex format to;
float x, y, z;
#define NON_TEXTURED_VERTEX_ALPHA_FVF (D3DFVF_XYZ | D3DFVF_DIFFUSE)
And I changed everywhere to reference this vertex structure. And I don't do
any of the texure setup when using this.
My question is: Do I need to specifically turn off the texturing with
SetTextureStageState? Do I need to turn off anything else to get it to work?
In general, do the texture and render states reset after rendering, or do
they stay the same until I change them myself?