diff options
Diffstat (limited to 'cwd/assets/altcraft/shaders/frag/entity.fs')
-rw-r--r-- | cwd/assets/altcraft/shaders/frag/entity.fs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cwd/assets/altcraft/shaders/frag/entity.fs b/cwd/assets/altcraft/shaders/frag/entity.fs index 6a11c96..06d5759 100644 --- a/cwd/assets/altcraft/shaders/frag/entity.fs +++ b/cwd/assets/altcraft/shaders/frag/entity.fs @@ -1,10 +1,9 @@ #version 330 core -uniform vec3 color; -in vec2 uvPos; out vec4 fragColor; -void main(){ - //if (uvPos.x < 0.9 && uvPos.x > 0.1 && uvPos.y < 0.9 && uvPos.y > 0.1) discard; - fragColor = vec4(color,1); -}
\ No newline at end of file +uniform vec3 color; + +void main() { + fragColor = vec4(color, 1); +} |