adamr wrote:I don't want to change gamma settings. I just want less light to be cast by the moon, so the night is even more scary. I couldn't find any reference on how to do this. Anyone knows? :-)
time_speed = 0Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)[…]
col = vec4(col.rgb, base.a);
#endif
/*
average_brightness b a
0.1 6.9216142999862 1.0009872101959
0.2 3.2812798961849 1.0390475388339
0.3 1.8010717753886 1.1977795369103
0.4 0.82216323430739 1.7840574297201
0.5 8.1838768211219e-12 122191161173.47
0.6 -0.82216323430739 -0.78405742972006
0.7 -1.8010717753886 -0.1977795369103
0.8 -3.2812798961849 -0.039047538833918
0.9 -6.9216142999862 -0.00098721019590494
*/
float b = -1.8010717753886;
float a = -0.1977795369103;
col.rgb = (vec3(1.0) - pow(vec3(e), -col.rgb * b)) * a;
#ifdef ENABLE_TONE_MAPPING
gl_FragColor = applyToneMapping(col);
#else
[…]Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)Users browsing this forum: No registered users and 12 guests