PDA

View Full Version : OpenGl ES blending ColorTransform



codetale
11-12-2010, 07:48 AM
OpenGl ES 1.x (fix pipeline)

I want to do blending effect (which like ColorTransform in Adobe Flash):
Output red value = (texture red value * redMultiplier) + redOffset
Output green value = (texture green value * greenMultiplier) + greenOffset
Output blue value = (texture blue value * blueMultiplier) + blueOffset
Output alpha value = (texture alpha value * alphaMultiplier) + alphaOffset

is there any way to simulate this when rendering texture (2D)?

Thank you very much.