DX11 fullscreen quad rendering not working

Started by
0 comments, last by Yours3!f 8 years, 8 months ago

hi there,

I'm trying to render a fullscreen quad using dx11, however it doesn't show up.

I tried debugging w/ nsight, and it seems that the quad is in place, but for some reason it doesn't write to the back buffer...

Output: blue screen

Expected: white screen

here's the code:

http://pastebin.com/3MaLxTjW

Questions:

1) any idea what am I doing wrong?

2) in case I can already draw the quad, how do I disable depth writing? (in opengl I know it's glDepthMask w/ false)

best regards,

Yours3!f

Advertisement

SOLVED: needed to enable color write masks, turns out by zeroing out the blend desc structure, you disable color writes...

This topic is closed to new replies.

Advertisement