veloren/assets/voxygen/shaders/antialias/bilinear.glsl

9 lines
208 B
Plaintext
Raw Normal View History

vec4 aa_apply(
texture2D tex, sampler smplr,
texture2D depth_tex, sampler depth_smplr,
vec2 fragCoord,
vec2 resolution
) {
return texture(sampler2D(tex, smplr), fragCoord / resolution);
}