summaryrefslogtreecommitdiffstats
path: root/core/variant/variant_construct.cpp
diff options
context:
space:
mode:
authorsunfl0w <lucaanthonyschwarz@googlemail.com>2024-05-26 17:15:39 +0200
committersunfl0w <lucaanthonyschwarz@googlemail.com>2024-06-13 13:32:28 +0200
commit0e56b64fc4bfefdc70f5a29bc0089404c24e597d (patch)
treeafa1590d65702bf8e90526be1abece32fb8c83b1 /core/variant/variant_construct.cpp
parentbe56cab58c056c074d1e02cd0b38641204e39f41 (diff)
downloadredot-engine-0e56b64fc4bfefdc70f5a29bc0089404c24e597d.tar.gz
Fix albedo value wraparound in Compatibility render mode
Using the Compatibility renderer results in wrapped albedo values if a custom shader returns albedo values outside the expected range of [0,1]. This commit fixed this issue by clamping the albedo value to [0,1] right after the custom shader is executed. Fixes #91919
Diffstat (limited to 'core/variant/variant_construct.cpp')
0 files changed, 0 insertions, 0 deletions