Jump to content
  • Advertisement
Sign in to follow this  


This topic is 3620 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!