AMD RenderMonkey GLSG Config for alpha transparency
1 answer
RenderMonkey rips out RGB and A source and dest, whereas OpenGL treats them as one with combinations in GLenums like GL_SRC_ALPHA, and GL_ONE_MINUS_SRC_ALPHA is passed to glBlendFunc (). For example GL_SRC_ALPHA sets the RGB and A source, but RenderMonkey appears and wants to do them individually. So as soon as you turn GL_BlendEnable TRUE, you just need to install: GL_BlendDestAlpha INV_SRC_ALPHA (equivalent to part A GL_ONE_MINUS_SRC_ALPHA) GL_BlendDestRGB INV_SRC_ALPHA (RGB equivalent parts GL_ONE_MINUS_SRC_ALPHA) GL_BlendSourceAlpha SRC_ALPHA (RGB equivalent parts GL_SRC_ALPHA) GL_BlendSourceRGB SRC_ALPHA (RGB equivalent parts GL_SRC_ALPHA)
+4
Chris Xenon Hanson
a source
to share