summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders/giprobe.glsl
AgeCommit message (Collapse)Author
2021-02-07Invert spotlight angle attenuationjfons
Inverted the spotlight angle attenuation so a higher value results in a dimmer light, this makes it more consistent with the distance attenuation. Also changed the way spotlighs are computed in SDFGI and GIPorbes and GPU lightmapper, now it matches the falloff used in the scene rendering code.
2021-01-05Change the light attenuation formulas.reduz
-Much better looking, physically based. -Almost negligible extra cost.
2020-12-04RenderingServer reorganizationreduz