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...
Type: Posts; User: XavierArias
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...
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...
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...