15 lines
350 B
GLSL
15 lines
350 B
GLSL
// MinecraftPT — final.fsh
|
|
// Final pass: copies the tonemapped result (colortex0, written by composite80)
|
|
// to the screen.
|
|
|
|
#version 430 compatibility
|
|
|
|
uniform sampler2D colortex0;
|
|
|
|
void main(){
|
|
vec2 coord = gl_FragCoord.xy / vec2(viewWidth, viewHeight);
|
|
vec3 color = textureLod(colortex0, coord, 0.0).rgb;
|
|
|
|
gl_FragColor = vec4(color, 1.0);
|
|
}
|