Skip to content Skip to sidebar Skip to footer
Showing posts with the label Glsl

How To Rotate A Texture In A Shader, Android

So I have a texture I want to rotate given the angle rotation. Here are my UV coordinates float[] l… Read more How To Rotate A Texture In A Shader, Android

Diffuse Lighting For A Moving Object

When calculating diffuse lighting for a moving object, I have to move the luminous source along wit… Read more Diffuse Lighting For A Moving Object

Opengl Es 3.0 Matrix Array Only Using First Matrix

I am doing GPU skinning in my vertex shader which works fine on PC, and which I'm porting to An… Read more Opengl Es 3.0 Matrix Array Only Using First Matrix

Textures In Opengl Es 2.0 For Android

I'm new to OpenGL and I'm teaching myself by making a 2D game for Android with ES 2.0. I am… Read more Textures In Opengl Es 2.0 For Android