mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 17:41:19 +00:00
Merge pull request #51821 from Calinou/builtin-shaders-add-comments
Add comments at the top of each built-in shader to ease debugging
This commit is contained in:
commit
c334989e00
10 changed files with 38 additions and 0 deletions
|
|
@ -1738,6 +1738,8 @@ AnimationPlayerEditor::AnimationPlayerEditor(EditorNode *p_editor, AnimationPlay
|
|||
|
||||
onion.capture.shader = Ref<Shader>(memnew(Shader));
|
||||
onion.capture.shader->set_code(R"(
|
||||
// Animation editor onion skinning shader.
|
||||
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform vec4 bkg_color;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue