Sign in to follow this  
mrheisenberg

Deferred rendering and deferred shading?

Recommended Posts

mrheisenberg    362

Would generating a command list from multiple threads with deferred contexts have any noticeable gain on performance with a deferred renderer?I mean you aren't changing shaders for every type of material and instead you use a branch or some other way of determining the material inside the lighting shader and shader binding is the heavies state change,right?

Share this post


Link to post
Share on other sites
MJP    19754

Who says you won't change shaders when you change materials? That would be assuming that every single material will fill the G-Buffer in the exact same way. As a really simple example, you might have a shader that does normal mapping and one that doesn't.

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