Godot Version
4.4
Question
I’m using #include statement to include another .gdshaderinc. Seems I’m doing everything right but it just shows error: “Invalid path”
4.4
I’m using #include statement to include another .gdshaderinc. Seems I’m doing everything right but it just shows error: “Invalid path”
Remove the ;
at the end of the line. It’s listed in the documentation here Shader preprocessor — Godot Engine (stable) documentation in English
Preprocessor directives never end with semicolons (with the exception of #define, where this is allowed but potentially dangerous).