mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
0e56b64fc4
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 |
||
---|---|---|
.. | ||
effects | ||
environment | ||
shaders | ||
storage | ||
rasterizer_canvas_gles3.cpp | ||
rasterizer_canvas_gles3.h | ||
rasterizer_gles3.cpp | ||
rasterizer_gles3.h | ||
rasterizer_scene_gles3.cpp | ||
rasterizer_scene_gles3.h | ||
SCsub | ||
shader_gles3.cpp | ||
shader_gles3.h |