mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-27 02:32:39 +08:00
accidentally left debug setting enabled. fix naming of filepaths for dimension flags
This commit is contained in:
31
shaders/world0_with_aether_flag/dh_shadow.fsh
Normal file
31
shaders/world0_with_aether_flag/dh_shadow.fsh
Normal file
@ -0,0 +1,31 @@
|
||||
#version 120
|
||||
//#extension GL_ARB_shader_texture_lod : disable
|
||||
|
||||
#include "/lib/settings.glsl"
|
||||
|
||||
flat varying int water;
|
||||
varying vec2 texcoord;
|
||||
|
||||
varying float overdrawCull;
|
||||
|
||||
uniform sampler2D tex;
|
||||
//////////////////////////////VOID MAIN//////////////////////////////
|
||||
//////////////////////////////VOID MAIN//////////////////////////////
|
||||
//////////////////////////////VOID MAIN//////////////////////////////
|
||||
//////////////////////////////VOID MAIN//////////////////////////////
|
||||
//////////////////////////////VOID MAIN//////////////////////////////
|
||||
|
||||
void main() {
|
||||
|
||||
if(water > 0){
|
||||
discard;
|
||||
return;
|
||||
}
|
||||
|
||||
if(overdrawCull < 1.0){
|
||||
discard;
|
||||
return;
|
||||
}
|
||||
|
||||
gl_FragData[0] = texture2D(tex, texcoord.xy);
|
||||
}
|
Reference in New Issue
Block a user