Sign in to follow this  

Fast Monochromatic Textures

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

I have a truecolor texture in DX9.0c. How can I make it appear in shades of grey without using pixel shaders?

Share this post


Link to post
Share on other sites
There's the D3DTOP_DOTPRODUCT3 texture operation using the fixed-function pipeline. Pass in the constants for calculating luminosity using D3DTSS_CONSTANT, set up the other input to be the texture, and it will calculate the luminosity for each pixel, which is greyscale. Add more stages for different effects!

Share this post


Link to post
Share on other sites
THX! I will check it out soon.

I'm making a casual puzzle game so using any shaders is prohibited. :)

Share this post


Link to post
Share on other sites

This topic is 3460 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.

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