New answers tagged

1 vote

Rendering light balls: Where to do perspective calculations?

First of all a small introduction about the matrices you need. viewMatrix: This matrix is a 4x4 matrix which stores the position and orientation of your camera with respect to the world origin. ...
  • 643
1 vote

Query the size of an array of non-basic types using interface query in OpenGL

To the uniform query API, there is no such thing as an "array of non-basic types". There are just a bunch of uniforms that just so happen to have names that include array notation like "...
  • 9,211

Top 50 recent answers are included