Jump to content
  • Advertisement
Sign in to follow this  
FenixRoA

DirectX Texture color replacement

This topic is 3062 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

This may be a stupid question. I remember playing a strategy game a while back (I think it was HomeWorld). In the game you could define your team's colors. To define the colors the game would offer 3 sliders for each color for your units (I think it had a primary and secondary color) and then the same colors would be applied to all of your units. I'd like to have a similar system, however I'm unsure how to program that in. Would this just be done as a layered approach where I take the default color, and paint the new color on top and then place decals on the top layer. Or is there some kind of DX feature that will allow me to do a "color replace" of this sort?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!