Advertisement

black and white renderng

Started by April 19, 2005 02:04 PM
3 comments, last by Redgeneral 19 years, 7 months ago
Is there a way to render in black and white only? Thank you
a) Use only grayscale textures, colors and lights.
b) Render to texture and use postprocessing.
You should never let your fears become the boundaries of your dreams.
Advertisement
Use a pixel shader to calculate the luminance at each pixel and use it as a color.
Y' = 0.2126 R' + 0.7152 G' + 0.0722 B'

http://en.wikipedia.org/wiki/Luminance
-- SharkOne
I shall have to try that equation and see how I get on
Thank you

This topic is closed to new replies.

Advertisement