mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 23:59:12 +01:00
fix(render): dark parts of a cab and of the running gear are no longer crushed to black, as the AgX look raises its contrast power from 1.0 in the shadows up to 1.6 only from the middle tones on, which keeps the bright tones, the outside view and the night as they were but leaves black knobs, levers and lettering visible on a black desk; the light of a cab can be scaled with gfx.cab.ambient, 1.0 by default
This commit is contained in:
@@ -109,7 +109,7 @@ vec3 AgxLook(vec3 val)
|
||||
|
||||
vec3 offset = vec3(0.0);
|
||||
vec3 slope = vec3(1.0);
|
||||
vec3 power = vec3(1.6);
|
||||
vec3 power = mix(vec3(1.0), vec3(1.6), smoothstep(0.0, 0.4, luma));
|
||||
float sat = 0.9;
|
||||
|
||||
#if AGX_LOOK == 1
|
||||
|
||||
Reference in New Issue
Block a user