Problem I’m working on a managed OpenGL game engine for C#, and here’s how I’m managing shader parameters (uniforms). Is […]
Tag: opengl
WebGL shader program management
Problem I’m writing a tiny WebGL/JS framework to improve my knowledge of JavaScript and WebGL. Following is a class that […]
OpenGL ES 2.0 Sprite rendering
Problem Is this a good method to render sprites (textured quads) or is there a faster or better way? Example […]
OpenGL VertexArrayObject class
Problem It seems to play up sometimes and I’m not sure if this is due to the class itself or […]
Sweep & prune broadphase algorithm
Problem My game engine uses the following broadphase collision detection algorithm: internal void SweepAndPrune() { // First: order all objects […]
OpenGL VertexArrayObject class
Problem It seems to play up sometimes and I’m not sure if this is due to the class itself or […]
C++ OpenGLBuffer class, wrapper around the raw OpenGL api
Problem I am trying to code a thin wrapper around the OpenGL so I can use it more convenient. This […]
Texture loading in LWJGL 3
Problem I made the following class to simpify texture loading in LWJGL 3, and modeled it after the slick-util API: […]