Sign in to follow this  
cozzie

Shaders and setrenderstates, your opinion?

Recommended Posts

Hi,

 

I'm working my way through learning shaders in d3d9, now I found out that up till now 99% of my setrenderstate calls are not needed anymore.

 

What do you think about using setrenderstate functions "versus" doing in the vertex shaders?

(performance wise maybe a mix can be better?)

 

Just curious on how you see it, maybe my opinion on this will differ when I'm further with developming my engine.

 

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