Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualJihodg

Posted 15 April 2013 - 09:27 PM

when rendering your lights, instead of using glBlendFunc(GL2ES2.GL_ONEGL2ES2.GL_ONE) use glBlendFunc(GL2ES2.GL_ONEGL2ES2.GL_ONE_MINUS_SRC_COLOR)... that should reduce the saturation, and with it, a better color blending

 

hahaha funny thing is, as you can see in your second image there is much better blending and no saturation!... because coincidentally you used blue and yellow and thus not saturated any channel, one light hay no blue channel while the other has only blue channel... of course that didn't happen when you mixed two white lights or a white and a yellow one


#1Jihodg

Posted 15 April 2013 - 09:16 PM

when rendering your lights, instead of using glBlendFunc(GL2ES2.GL_ONEGL2ES2.GL_ONE) use glBlendFunc(GL2ES2.GL_ONEGL2ES2.GL_ONE_MINUS_SRC_COLOR)... that should reduce the saturation, and with it, a better color blending


PARTNERS