Sign in to follow this  
Zapato

Change HUE in Dx8?

Recommended Posts

like the title, is possible change hue value from a texture in dx8? edit: sorry, wrong forum, this must be on DirectX's forum

Share this post


Link to post
Share on other sites
For the whole texture, you could do it with a pixel shader without any problems. Otherwise you'll need to do it by locking the texture, reading the value and changing it.

In either case you'll need to convert from RGB -> HSV (I think that's the correct term) then back again.

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