mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-01-11 19:42:11 +08:00
20 lines
610 B
GLSL
20 lines
610 B
GLSL
#version 120
|
|
//#extension GL_ARB_shader_texture_lod : disable
|
|
|
|
#include "/lib/settings.glsl"
|
|
|
|
flat varying int water;
|
|
varying vec2 texcoord;
|
|
uniform sampler2D tex;
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
//////////////////////////////VOID MAIN//////////////////////////////
|
|
|
|
void main() {
|
|
if(water > 0) discard;
|
|
|
|
gl_FragData[0] = texture2D(tex, texcoord.xy);
|
|
}
|