diff options
Diffstat (limited to 'src/main/resources/assets/skyhanni/shaders/standard_chroma.vsh')
-rw-r--r-- | src/main/resources/assets/skyhanni/shaders/standard_chroma.vsh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/resources/assets/skyhanni/shaders/standard_chroma.vsh b/src/main/resources/assets/skyhanni/shaders/standard_chroma.vsh new file mode 100644 index 000000000..4895d119e --- /dev/null +++ b/src/main/resources/assets/skyhanni/shaders/standard_chroma.vsh @@ -0,0 +1,13 @@ +// Chroma Vertex Shader +// (Same as textured_chroma.vsh but isn't restricted to only texture elements) + +#version 130 + +out vec4 originalColor; + +void main() { + gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; + + // Pass original color to fragment + originalColor = gl_Color; +}
\ No newline at end of file |