(6.0.0 Shader) handleSprites - JujuAdams/ScribbleOldDocs GitHub Wiki
vec4 handleSprites(float isSprite, vec4 color)
Returns: The resulting color for this vertex
Datatype | Name | Purpose |
---|---|---|
float |
isSprite |
Whether this character is a sprite or not: 0.0 for "not a sprite", 1.0 for "is a sprite" |
vec4 |
color |
The raw color value from the attribute in_Colour |