blob: 87ca9feced31c900fb4c2d187553ccfe08409f56 (
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;
}
|