Filters

Blog post

Using #ifdef in OpenGL* ES 2.0 Shaders

It’s nice to use #ifdef’s in an OpenGL* shader. This allows a shader file do things like contain a vertex shaders and pixel shaders in the same file.

Authored by Last updated on 07/12/2018 - 14:07