Introduction to Shaders

VNgen features integrated shader support for each individual entity. While using shaders with VNgen is similar to other animations and effects, shaders are written externally in a separate programming language (typically GLSL ES).

In a nutshell, shaders modify the position and/or color of vertices and/or pixels. While simple in principle, shaders can be used to create advanced visual effects like depth of field, light bloom, motion blur, and even entire 3D environments.

While instructions on how to write shaders of your own is beyond the scope of this reference guide, in this section we will examine shaders which are included with VNgen.