DX9 Deferred Rendering, GBuffer displays as clear color only

Posted by Fire31 on Game Development See other posts from Game Development or by Fire31
Published on 2012-11-05T16:34:30Z Indexed on 2012/11/05 17:20 UTC
Read the original article Hit count: 303

I'm trying to implement Catalin Zima's Deferred Renderer in a very lightweight c++ DirectX 9 app (only renders a skydome and a model), at this moment I'm trying to render the gbuffer, but I'm having a problem, the screen shows only the clear color, no matter how much I move the camera around.

However, removing all the render target operations lets the app render the scene normally, even if the models are being applied the renderGBuffer effect.

Any ideas of what I'm doing wrong?

© Game Development or respective owner

Related posts about c++

Related posts about directx9