Peter Bloomfield
  • Blog
  • About me
  • Contact me
Tagged

opengl

A collection of 5 posts

opengl

OpenGL gotcha: my particles are too small

Particle effects can look brilliant, but they can be spoiled by scaling issues. This post looks at one way to fix it in OpenGL.

opengl

OpenGL gotcha: remember light 0

OpenGL enables light 0 by default. This can be helpful for tinkering, but it can cause some confusing lighting issues if you forget to disable it.

opengl

OpenGL gotcha: scale your normals!

When specifying normals in OpenGL, remember to scale them correctly or the lighting calculations will be incorrect.

opengl

OpenGL gotcha: depth buffer distortion

When working with OpenGL (and potentially other graphics library), don't put your near clipping plane too close to the camera.

opengl

OpenGL gotcha: mipmaps only please!

Pay attention to what your texture parameters apply to when working with OpenGL.

Peter Bloomfield © 2008-2022
  • Privacy policy
Powered by Ghost