Closed doodlum closed 2 months ago
It's really hard for me to know what's going on because you're mixing a lot of different things. Were the settings removal responsible for the fix? At this point, I'll just approve since it's too hard for me to know what you are actually doing.
Also just some general cleanup and refactoring.
Some settings have been removed because either they are not relevant anymore, or were never used/confusing.
Fadeout code was separated to happen later on because otherwise it was not smooth (either on or off). Maybe this is fixable within the "sample" function I do not know.
Diffuse skylighting direction normals now never point downwards, to prevent issues with black surfaces whilst still maintaining a somewhat directional look.