Sign in to follow this  

Better way to color a texture.

Recommended Posts

What is the better way to color (modulate) a texture? I know of two ways - using vertex diffuse color, and using an effect. The problem with using the vertex diffuse color is that I had to lock/update/unlock the vertex buffer. With an effect file (pixel shader), I'm not so sure yet how it will interact with other effects. Can I do the following?




Are there other more elegant ways?

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