Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


#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