I think it should work, just look up OpenGL lighting tutorials. In my
Vintage Tripeaks game I use OpenGL lights (two of them). The only
thing I still don't understand 100% is the lighting coordinates. I
just worked on it enough to get it to work like I wanted, I didn't
experiment much further. Someone else here on the list no doubt has
some good tips on lighting coordinates. They are treated different
than mesh coordinates. Just google some tuts.

-niko


On Dec 13, 8:00 am, Dani <[email protected]> wrote:
> Hello,
> I'm developening an isometric 2D game using Opengl ES.
> Now I'm trying to implement a light system like Diablo I and II, i.e.
> with the source light positionated on the main character that follows
> him and radiates the surrounding dark environment.
>
> What's the best way to do that? I found only tutorial about shader for
> a 3D system, I don't know if it is the right way for 2D or if there is
> a better (and simple) solution.
>
> Thank you
> Dani

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to