• entries
234
427
• views
114495

127 views

Well, I solved my problem with my screen size quad not fitting my screen. As it turns out, I was setting my vertex size incorrectly in SetStreamSource.

g_pDevice->SetStreamSource(0,g_QuadVB,sizeof(g_QuadVB));

g_pDevice->SetStreamSource(0,g_QuadVB,sizeof(SVERTEX));

I was setting my vertex size to be the size of an array of vertex structures that had four vertices in them, rather than the size of the structure itself. Because of this, I could only manipulate the location of the first vertex.

But now on to new problems. Right now, it seems like I'm getting a slew of garbage in my glow texture.

Here's a pic:

As you can see, the glow seems to be rendering, but I'm starting out with a lot of crap in my glow texture. Also, I'm not clearing my glow texture on each pass so it ends up eventually filling entirely with color.

I better get back to work.

[smile]

There are no comments to display.

## Create an account

Register a new account