diff options
Diffstat (limited to 'data/shaders')
-rw-r--r-- | data/shaders/default-fragment.glsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data/shaders/default-fragment.glsl b/data/shaders/default-fragment.glsl index e90adbe..21bb756 100644 --- a/data/shaders/default-fragment.glsl +++ b/data/shaders/default-fragment.glsl @@ -1,8 +1,9 @@ #version 130 in vec2 frag_tex; +uniform vec4 color; uniform sampler2D color_texture; void main (void) { - gl_FragColor = texture2D(color_texture, frag_tex); + gl_FragColor = texture2D(color_texture, frag_tex) * color; } |