SL-19564 Document magic number.

meow-7.2.2
Dave Parks 2023-04-11 15:31:26 -05:00
parent 2b2154f021
commit b09e5324c7
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ float lum(vec3 col)
void main()
{
vec2 tc = vary_fragcoord*0.6+0.2;
tc.y -= 0.1;
tc.y -= 0.1; // HACK - nudge exposure sample down a little bit to favor ground over sky
vec3 c = texture(diffuseRect, tc).rgb + texture(emissiveRect, tc).rgb;
float L = lum(c);
frag_color = vec4(L);