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 move the AO from the rgb
components of vaColor
to the alpha component, which can be applied later like this: