Sign in to follow this  
Turold

Fast Monochromatic Textures

Recommended Posts

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

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