Advertisement Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Pixel Shader issues.

Sign in to follow this  


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.

I had this:


what I really wanted was this:


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:
Epoch Star - Space Game

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.

Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!