Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: XavierArias

Search: Search took 0.00 seconds.

  1. 2D lightning from multiple point sources on GLSL ES 2.0 in iPhone

    as i'm a complete noob with shaders i've got some problems while trying to get to work a 2D lighting system that basically covers the screen with a 2D black texture with transparent holes where the...
  2. i did make a call to glUseProgram using the...

    i did make a call to glUseProgram using the cocos2d-x wrapper, so i guess that is working correctly.
    By now i'm using only one light as i cannot control the number of loops and everything works ok...
  3. Set value to uniform int in fragment shader

    Hi,

    this should be a stupid problem, as i've been setting uniform float and vec2 values without problems, but it seems that i don't set up the int value correctly...

    EDIT: I forgot to mention...
Results 1 to 3 of 3