Skip to content

vaColor

in vec4 vaColor;

Valid Programs: all gbuffers/shadow


The vertex color attribute, equivalent to gl_Color from the compatibility profile.

The color attribute is often used to apply tints to colored blocks such as leaves, grass, water, etc. It also contains the vanilla ao and if enabled the old lighting. Enabling separateAo will remove the vanilla ao from the rgb components of the color and put the ao in the alpha component.