Jump to content
  • Advertisement
Sign in to follow this  
helpmenow

how long will 8-bit pallets be around?

This topic is 3535 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 im working on an rts and like in most rts games each team has its own color but share the same image. now i have a good idea on how to implement this but i want to know for sure that it will be supported in the future. i guess what i want really want to know is there a better way to produce this effect or is this a fairly good way to pull it off?

Share this post


Link to post
Share on other sites
Advertisement
I don't imagine they'll be going away any time soon.

Even if they did, converting from an 8-bit to a 16- or 32-bit format is trivial.

Share this post


Link to post
Share on other sites
Well thanks for the reply but using or converting an image is not really a problem for me. its pulling of an effect that only changes a few elements in the pallet to a certain color which is not so trivial of an effect or even possible on a non paletted image unless maybe you wrote a pixel shader of some sort to simulate that effect?

Share this post


Link to post
Share on other sites
Btw writing a pixel shader is not an option for me so using a palleted image seems like the only way to pull of the effect. Oh there is one other way I just don’t like it. I can render the image once for the textured part and then go another pass for the color but then I double my render time which is also not an option for me.

Share this post


Link to post
Share on other sites
Btw writing a pixel shader is not an option for me so using a palleted image seems like the only way to pull of the effect. Oh there is one other way I just don’t like it. I can render the image once for the textured part and then go another pass for the color but then I double my render time which is also not an option for me.

Share this post


Link to post
Share on other sites
Why are two passes not an option? You would either need a *lot* of rendering or some very old graphics cards for this to be an issue with an RTS.

Share this post


Link to post
Share on other sites
I understand the technique you're planning to use, my point was that you can easily convert to a 16- or 32-bit texture at runtime.

Share this post


Link to post
Share on other sites
Im using textured quads and im probably going to use palleted images.

Well my graphics card is a NVIDIA GeForce 6150SE nForce 430 128mb and I plan on having a lot of units per team and I like to pick up speed whenever I can an this is definitely an area where I feel I need it. Mainly because I plan on having lots of particles and effects going on. hh10k Although I might for now I really don’t want to go that rout. thank you for you help though.

Share this post


Link to post
Share on other sites
8 bit pallets are considered as dead today. Its ages since I saw the last driver that supports this technique.

Share this post


Link to post
Share on other sites
What Demirug said. I haven't seen any 8-bit pixel formats in years, and if your card supports them, then you probably have an extremely old card.

You have two options: Use a shader to fake a palette, or use a 32-bit pixel format and work around the lack of a palette.

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.

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!