spoonedit/res/Shaders/ShadowPass.fsh

10 lines
150 B
Text
Raw Permalink Normal View History

2024-12-21 17:09:23 +01:00
#version 460
uniform sampler2D TextureSampler;
in vec2 texCoord;
void main(){
if(texture(TextureSampler,texCoord).a < 0.5)
discard;
};