diff options
Diffstat (limited to 'src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh')
-rw-r--r-- | src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh b/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh new file mode 100644 index 000000000..87ca9fece --- /dev/null +++ b/src/main/resources/assets/skyhanni/shaders/textured_chroma.vsh @@ -0,0 +1,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; +} |