aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh
blob: eebf95c829e6acb83cf313c2d0d89ef970030a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Textured Chroma Vertex Shader
// Credit: https://github.com/BiscuitDevelopment/SkyblockAddons/blob/main/src/main/resources/assets/skyblockaddons/shaders/program/chroma_screen_textured.vsh

#version 130

out vec2 outTextureCoords;
out vec4 outColor;

void main() {
    gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;

    // Pass the color & texture coords to the fragment shader
    outColor = gl_Color;
    outTextureCoords = gl_MultiTexCoord0.st;
}