aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/skyhanni/shaders/standard_chroma.vsh
blob: abfee20ee57984cbd617100b525be0a0a9a558ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Chroma Vertex Shader
// (Same as textured_chroma.vsh but isn't restricted to only texture elements)

#version 120

varying vec4 originalColor;

void main() {
    gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;

    // Pass original color to fragment
    originalColor = gl_Color;
}