"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team
Light in OpenGL ES 2.0
By Russel
on Wed, 06/20/2012 - 17:07
How and exactly where the light is put into the scene? Or is the light only in the texture?
Lighting works much differently between OpenGL ES 1.x and 2.0. With 2.0 you have to add lighting calculations to your shaders, there is no way to set light positions or parameters in the OpenGL ES 2.0 API. You can find plenty of examples online.
Hi Kim,
I have another one question ;). Is there Light at the Image Target Example (default OpenGL Es 2.0)? shader have been used already? If so, where? When the CubeShader is used, only in OpenGL ES 1.1?
If you want to create such a spotlight. It should work both texture and light.
Re: Light in OpenGL ES 2.0
Re: Light in OpenGL ES 2.0
Re: Light in OpenGL ES 2.0
Re: Light in OpenGL ES 2.0