SangeFault/assets/minecraft/shaders/program/outline_combine.fsh
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 a50683c84e Updated to 1.18.1 Vanilla Assets
basically starting over... this is gonna be fun!
2022-01-20 17:44:06 +01:00

15 lines
370 B
GLSL

#version 150
uniform sampler2D DiffuseSampler;
uniform sampler2D OutlineSampler;
in vec2 texCoord;
in vec2 oneTexel;
out vec4 fragColor;
void main(){
vec4 diffuseTexel = texture(DiffuseSampler, texCoord);
vec4 outlineTexel = texture(OutlineSampler, texCoord);
fragColor = vec4(diffuseTexel.rgb + diffuseTexel.rgb * outlineTexel.rgb * vec3(0.75), 1.0);
}