Skip to content

DarkRaha/socode4-gldemos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socode4-gldemos

OpenGl examples for site https://socode4.com/articles/en/open-gl.

  1. BumpingSphereRender - render textured sphere with directional light and bump mapping.
  2. LightTexturedSphereRender - render textured sphere with directional light.
  3. TexturedCubeRender - render cube with texture.
  4. TexturedQuadRender - render quad with texture, demonstrate how to apply 2D texture to the surface.
  5. ColoredCubeRender - render multicolored cube, demonstrate how to use VAO with single VBO and IBO.
  6. ColoredQuadRender - render multicolored quad, demonstrate how to use VAO with single VBO that contains multiple vertex attributes (positions and colors).
  7. QuadRender - render white quad, demonstrate how to use VBO. In OpenGL 3, VBO may not work standalone without VAO, so it uses VAO also.