Skip to content

Commit 32cf20c

Browse files
committedNov 29, 2024
Merge pull request #97024 from tetrapod00/shader-create-comment
Use double comments in shader template light functions
2 parents 2669f19 + 733797e commit 32cf20c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎editor/shader_create_dialog.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ void fragment() {
164164
}
165165
166166
//void light() {
167-
// Called for every pixel for every light affecting the material.
168-
// Uncomment to replace the default light processing function with this one.
167+
// // Called for every pixel for every light affecting the material.
168+
// // Uncomment to replace the default light processing function with this one.
169169
//}
170170
)";
171171
break;
@@ -180,8 +180,8 @@ void fragment() {
180180
}
181181
182182
//void light() {
183-
// Called for every pixel for every light affecting the CanvasItem.
184-
// Uncomment to replace the default light processing function with this one.
183+
// // Called for every pixel for every light affecting the CanvasItem.
184+
// // Uncomment to replace the default light processing function with this one.
185185
//}
186186
)";
187187
break;

0 commit comments

Comments
 (0)
Please sign in to comment.