Alpha blending textures vs framebuffer
Hello,
I want to render transparent glass with opengl. Should I use alpha blending on the textures or in the framebuffer. I don't know what the advantages are of both techniques. Does alphablending in the framebuffer require sorting of the geometry?
Thankx,
Jeroen
u will prolly need to sort geometry back to front. + have the translucency factor in the glass (not the framebuffer) many ways of blending eg GL_SRC_ALPHA ONE_MINUS_SRC_ALPHA or a constant blend color, u will need to experiment. also u might wanna have reflection + refraction (which require more work) theres numerous demos/examples on the net.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement