Sign in to follow this  
brekehan

Passes

Recommended Posts

Ok, after some discussion about input layout changing every pass instead of once for an effect I am wondering what else may change. I think I need to go back to the big picture for design. Is it possible for the expected material attributes to change per pass? If, so how is that done in the shader code? Transforms? Anything else? I am thinking along the lines of making a "render method" class that contains the effect to use, technique name, which passes to use, and all data that changes per pass, etc. then I can stick that into my renderable objects. I think I need soemthing like this now that things are getting more complex than drawing the same cube with the same material the same way :P Please give some clarity on what things can change and when.

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