summaryrefslogtreecommitdiffstats
path: root/editor/shader_create_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/shader_create_dialog.cpp')
-rw-r--r--editor/shader_create_dialog.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/editor/shader_create_dialog.cpp b/editor/shader_create_dialog.cpp
index 28776cbddc..e5851d9333 100644
--- a/editor/shader_create_dialog.cpp
+++ b/editor/shader_create_dialog.cpp
@@ -175,9 +175,10 @@ void fragment() {
// Called for every pixel the material is visible on.
}
-void light() {
+//void light() {
// Called for every pixel for every light affecting the material.
-}
+ // Uncomment to replace the default light processing function with this one.
+//}
)";
break;
case Shader::MODE_CANVAS_ITEM:
@@ -190,9 +191,10 @@ void fragment() {
// Called for every pixel the material is visible on.
}
-void light() {
+//void light() {
// Called for every pixel for every light affecting the CanvasItem.
-}
+ // Uncomment to replace the default light processing function with this one.
+//}
)";
break;
case Shader::MODE_PARTICLES: