Skip to content
Snippets Groups Projects
Commit 4e80ece5 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix render

parent e3617dc8
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -294,7 +294,7 @@ vec3 legacyGamma(vec3 color) ...@@ -294,7 +294,7 @@ vec3 legacyGamma(vec3 color)
void main() void main()
{ {
vec4 diff = texture(diffuseRect, vary_fragcoord) + texture2D(emissiveRect, vary_fragcoord); vec4 diff = texture(diffuseRect, vary_fragcoord);
float exp_scale = texture(exposureMap, vec2(0.5,0.5)).r; float exp_scale = texture(exposureMap, vec2(0.5,0.5)).r;
diff.rgb *= exposure * exp_scale; diff.rgb *= exposure * exp_scale;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment