mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +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
|
|
@ -76,6 +76,8 @@ void Texture3DEditor::_update_material() {
|
|||
void Texture3DEditor::_make_shaders() {
|
||||
shader.instantiate();
|
||||
shader->set_code(R"(
|
||||
// Texture3DEditor preview shader.
|
||||
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform sampler3D tex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue