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

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

Directional Lighting Is Not Constant In Opengl Es 2.0/3.0

Problem: The direction of the directional light changes when the position of the object changes. I … Read more Directional Lighting Is Not Constant In Opengl Es 2.0/3.0

Opengl Es 3.0 Shader Functions Unimplemented On Nexus 5/kitkat 4.4

I'm having no luck using any of the OpenGL 3.0 shader functions on my Nexus 5 w/ KitKat 4.4, I … Read more Opengl Es 3.0 Shader Functions Unimplemented On Nexus 5/kitkat 4.4

Using Glvertexattribpointer And Gldrawelements To Draw From A Packed Vertex Buffer

I have a packed vertex buffer containing postion coordinates aswell as color values for a vertex in… Read more Using Glvertexattribpointer And Gldrawelements To Draw From A Packed Vertex Buffer

Glcreateshader And Glcreateprogram Fail On Android

I'm having a very difficult problem creating a shader program on android. when I call glCreateS… Read more Glcreateshader And Glcreateprogram Fail On Android