Jump to content

  • Log In with Google      Sign In   
  • Create Account

XavierArias

Member Since 05 Sep 2012
Offline Last Active Sep 21 2012 11:37 AM

Posts I've Made

In Topic: 2D lighting from multiple point sources on GLSL ES 2.0 in iPhone

07 September 2012 - 03:49 AM

i've tried optimizing this shader with squared distances and so and i haven't got much better results, so i'm going to change all this shader-based lighting for something similar to what kalle_h said, but have to take a look at the additive blending and see if it's what i'm looking for.

Thanks for all your replies.

In Topic: 2D lighting from multiple point sources on GLSL ES 2.0 in iPhone

06 September 2012 - 01:38 AM

Then what is the alternative?
I thought that it would avoid redundant computations to have one texture on top of the other and light every pixel of them.
I've also though that vertex lighting would not be easy to apply as a big texture is represented by a simple quad...

Sorry about the bad spelling, i've corrected every mistake that i've found.

PARTNERS