aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh
blob: 5dad3950f2bc7d2df815afbfc1529d03d33ff189 (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 120

varying vec2 outTextureCoords;
varying 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;
}