16 years, 8 months ago
Highlights
16 years, 8 months ago
Because I just want the no-frills one texture, Goraud shaded polygons. The only reason I'm using the custom vertex declaration is because the FVF vertex formats place…
16 years, 8 months ago
In a certain library that I am working on I have created this vertex format that is understandable by both OpenGL and Direct3D. On the Direct3D side I do this via the D…
16 years, 8 months ago
Sure.//The vertex structurestruct PRIM_COLOR { uint32_t d3d_color; float r, g, b, a;};struct VERTEX { float x, y; PRIM_COLOR color; float u, v;};//The declarationD3DVERTEXELEMEN…
16 years, 8 months ago
16 years, 8 months ago
Latest Activity
See all in DiscussionsBecause I just want the no-frills one texture, Goraud shaded polygons. The only reason I'm using the custom vertex declaration …
16 years, 8 months ago
Sure.//The vertex structurestruct PRIM_COLOR { uint32_t d3d_color; float r, g, b, a;};struct VERTEX { float x, y; PRIM_COLOR color; float …
16 years, 8 months ago
Okay. I think I'll end up just ignoring the errors... making these shaders work is too much trouble, as the …
16 years, 8 months ago