Jump to content

  • Log In with Google      Sign In   
  • Create Account

Deferred Renderer


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 IceBreaker23   Members   -  Reputation: 614

Like
0Likes
Like

Posted 16 June 2012 - 07:06 AM

Hey!

I want to make a deferred renderer with directx9. I know how it works etc.
First i will render into a texture without lighting(contains diffuse) and store other information like material,normal in another texture.
Then i will draw the texture on the screen and in the pixelshader i will calculate the lighting.

Is this the right approach or is there an easier way?

Sponsor:

#2 TiagoCosta   Crossbones+   -  Reputation: 2245

Like
2Likes
Like

Posted 16 June 2012 - 08:45 AM

Google "Deferred Rendering" and you'll find a lot of discussions about it... You can check this link to learn how to do it.

One optimization is to store only depth instead of the complete position and reconstruct each pixel position in the lighting pass using the depth.

Edited by TiagoCosta, 16 June 2012 - 08:48 AM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS