Jump to content
  • Advertisement
Sign in to follow this  
texaspeter

color filter

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

Hello everybody i have a question about filtering colors. How would i build a filter and where should i put it in (assume that i'm using the usual nehe source). My goal is to set up a filter, where i could put in rgb values. Only these values should be visible just like i wanna see only the red values of each pixel. What do i have to do? Thx

Share this post


Link to post
Share on other sites
Advertisement
well you could use light, red light only will give you just the red parts of textures...

Share this post


Link to post
Share on other sites
yes, but i want to render a normal scene and get only the red values.

My goal is to write some type of an anaglyph-renderer. So i need to render a scene twice, one only with the red values and one only with the cyan values.

any ideas?

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!