Browse Source

Merge pull request #97024 from tetrapod00/shader-create-comment

Use double comments in shader template light functions
Rémi Verschelde 9 months ago
parent
commit
32cf20c750
1 changed files with 4 additions and 4 deletions
  1. 4 4
      editor/shader_create_dialog.cpp

+ 4 - 4
editor/shader_create_dialog.cpp

@@ -164,8 +164,8 @@ void fragment() {
 }
 
 //void light() {
-	// Called for every pixel for every light affecting the material.
-	// Uncomment to replace the default light processing function with this one.
+//	// Called for every pixel for every light affecting the material.
+//	// Uncomment to replace the default light processing function with this one.
 //}
 )";
 						break;
@@ -180,8 +180,8 @@ void fragment() {
 }
 
 //void light() {
-	// Called for every pixel for every light affecting the CanvasItem.
-	// Uncomment to replace the default light processing function with this one.
+//	// Called for every pixel for every light affecting the CanvasItem.
+//	// Uncomment to replace the default light processing function with this one.
 //}
 )";
 						break;