Sign in to follow this  

DirectX Fullscreen Quad

Recommended Posts

Hiya, I'm implementing a deferred shading engine. I have the material pass working fine, it writes to 4 textures and I have checked their contents are correct by saving the textures as bitmaps. I need to use them to draw the final display now, and I was wondering if someone could suggest a way of doing this. My understanding is that I need to create a fullscreen quad, and then run the lighting shader over the quad once for each light, using the 'gbuffer' as input for the lighting calculations. Is this correct? Also, what FVF should I use for the quad? Is just using D3DFVF_XYZRHW alright, or do I need anything else? Thanks for any input :)

Share this post

Link to post
Share on other sites

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

Sign in to follow this