Re: Stupid OpenGL question
Posted: 23 Feb 2008, 18:18
yes multiply is good, but which gl blending modes should be used for the blend modes?
currently:
additive: gl.Blending(GL.DST_COLOR,GL.SRC_COLOR)
i once used it in the rain widget and it looked good.
overlay: no mode
subtractive: gl.Blending(GL.ONE_MINUS_DST_COLOR,GL.ONE_MINUS_SRC_COLOR)
i once used a blend mode like this and it had a nice subtraction effect
which are the modes for multiply?
currently:
additive: gl.Blending(GL.DST_COLOR,GL.SRC_COLOR)
i once used it in the rain widget and it looked good.
overlay: no mode
subtractive: gl.Blending(GL.ONE_MINUS_DST_COLOR,GL.ONE_MINUS_SRC_COLOR)
i once used a blend mode like this and it had a nice subtraction effect
which are the modes for multiply?