2
0
Эх сурвалжийг харах

Use double comments in shader template light functions

tetrapod00 1 жил өмнө
parent
commit
733797e71f

+ 4 - 4
editor/shader_create_dialog.cpp

@@ -163,8 +163,8 @@ void fragment() {
 }
 }
 
 
 //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.
+//	// Called for every pixel for every light affecting the material.
+//	// Uncomment to replace the default light processing function with this one.
 //}
 //}
 )";
 )";
 						break;
 						break;
@@ -179,8 +179,8 @@ void fragment() {
 }
 }
 
 
 //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.
+//	// Called for every pixel for every light affecting the CanvasItem.
+//	// Uncomment to replace the default light processing function with this one.
 //}
 //}
 )";
 )";
 						break;
 						break;