summaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorLetheed <letheed@users.noreply.github.com>2017-08-24 23:35:19 +0200
committerGitHub <noreply@github.com>2017-08-24 23:35:19 +0200
commit61d3fb36e8d3e573cf7e6a726229b28a0fca5130 (patch)
tree1203f52e10fea62db3bf4bc8a205507a9218738c /editor/code_editor.cpp
parentf61e8695c9952928d19e6896bc412b638927b25c (diff)
Allow to disable shadow gradients in Light2D
Currently the shadow gradient can't be disabled and always has a minimum value of 1. I'm not sure why though, the default value seems to be 0 and the rasterizer checks for 0 [here](https://github.com/godotengine/godot/blob/8fc6bb8f771c520c15320c3b4be561abc648d65d/drivers/gles3/rasterizer_canvas_gles3.cpp#L1284) before enabling it. Feels like a bug to me, but if there's a reason for that let me know. As a side effect, this edit effectively changes the default value from 1 to 0 for new projects.
Diffstat (limited to 'editor/code_editor.cpp')
0 files changed, 0 insertions, 0 deletions