summaryrefslogtreecommitdiff
path: root/thirdparty/glslang/SPIRV/InReadableOrder.cpp
diff options
context:
space:
mode:
authorjfons <joan.fonssanchez@gmail.com>2021-02-06 21:39:08 +0100
committerjfons <joan.fonssanchez@gmail.com>2021-02-07 20:10:33 +0100
commit99e1ce0690b3281c5496fa0e5f4266a4d62c6824 (patch)
treef0c7bece59ee144a79fad3fe4522bb1ea440e4de /thirdparty/glslang/SPIRV/InReadableOrder.cpp
parent7bb7a3c4a7d2fc8f3f75176d89989253faf0e361 (diff)
Invert spotlight angle attenuation
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.
Diffstat (limited to 'thirdparty/glslang/SPIRV/InReadableOrder.cpp')
0 files changed, 0 insertions, 0 deletions