Skip to main content
GameDev.net gamedev.net
🔒 Locked

Clamping alpha / colors when blending (?)

Started by necrophilissimo Aug 14, 2005 at 9:39 AM 0 replies 1k views
Original Post
necrophilissimo
necrophilissimo
Now how do I clamp alpha and colors when drawing multiple textured quads over each other? I mean when rendering multiple object halos (that are GL_ONE/GL_ONE), if halos are drawn over each other, it results an overbright halo (twice the alpha and colors). How could I clamp those so it wouldn't become overbright, but all overlapped sections would remain max 1.0 alpha and max 1.0 per color? Like I said, my halos are 2D textures rendered as quads in GL_ONE/GL_ONE. Thanx!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.