mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
dirty way: loads dithered/passthru shader according to the game's config (boolean fxdither)
14 lines
216 B
GLSL
14 lines
216 B
GLSL
#version 120
|
|
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
|
|
varying vec4 v_color;
|
|
varying vec2 v_texCoords;
|
|
uniform sampler2D u_texture;
|
|
|
|
|
|
void main(void) {
|
|
gl_FragColor = texture2D(u_texture, v_texCoords);
|
|
} |