Advertisement

colour clamping

Started by June 03, 2002 10:59 PM
0 comments, last by jasonf 22 years, 8 months ago
I''m away from home and don''t have my ref''s handy, so i''ll throw this one out and see what I get. Please don''t burn me for not looking somewhere else first. If you don''t want to answer, then don''t Fair enough? Here''s what I''m wondering. I''ve got 8 layers blending with each other, but i need to clamp the mixed colours so that I don''t get too many hotspots (white areas) in the final composite. Is there a gl func that handles clamping composited colors or will i have to write my own? Thanks in advance for any suggestions.
Jason FeserCode Geek / Visuals Guyelasticmediaproductionshttp://www.elasticvisuals.com
Use the alpha channel for the transparency of the textures and then glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ).

This topic is closed to new replies.

Advertisement