Posts by Category

Tutorials

GLSL shader for fog imitation

5 minute read

By using OpenSceneGraph and GLSL shader, this code snippet demonstrates a simplest way to add a fog effect to your geometries by diluting geometry’s color in...