Merge pull request #12048 from hi-ogawa/fix-viewport-vflip
Fix viewport vflip
This commit is contained in:
commit
552384e737
1 changed files with 1 additions and 6 deletions
|
@ -175,12 +175,9 @@ vec3 tonemap_reindhart(vec3 color,float white) {
|
||||||
return ( color * ( 1.0 + ( color / ( white) ) ) ) / ( 1.0 + color );
|
return ( color * ( 1.0 + ( color / ( white) ) ) ) / ( 1.0 + color );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
||||||
ivec2 coord = ivec2(gl_FragCoord.xy);
|
vec4 color = textureLod(source, uv_interp, 0.0);
|
||||||
vec3 color = texelFetch(source,coord,0).rgb;
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_AUTO_EXPOSURE
|
#ifdef USE_AUTO_EXPOSURE
|
||||||
|
|
||||||
|
@ -324,5 +321,3 @@ void main() {
|
||||||
|
|
||||||
frag_color=vec4(color.rgb,1.0);
|
frag_color=vec4(color.rgb,1.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue