1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

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

Use double comments in shader template light functions
This commit is contained in:
Rémi Verschelde
2024-11-29 22:46:01 +01:00

View File

@@ -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;