diff options
| author | sunfl0w <lucaanthonyschwarz@googlemail.com> | 2024-05-26 17:15:39 +0200 |
|---|---|---|
| committer | sunfl0w <lucaanthonyschwarz@googlemail.com> | 2024-06-13 13:32:28 +0200 |
| commit | 0e56b64fc4bfefdc70f5a29bc0089404c24e597d (patch) | |
| tree | afa1590d65702bf8e90526be1abece32fb8c83b1 /drivers/opengl/shader_opengl.cpp | |
| parent | be56cab58c056c074d1e02cd0b38641204e39f41 (diff) | |
| download | redot-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 'drivers/opengl/shader_opengl.cpp')
0 files changed, 0 insertions, 0 deletions
