Can shaders live in their own files?

def-pri-pubdef-pri-pub Posts: 6Member

When I created a shader for a Sprite object, I noticed that the shader code itself doesn't live in another file, but within the .tscn file. Is it possible to have this shader in a separate file? I tend to not use Godot's built in text editor.


Tags :

Comments

  • MegalomaniakMegalomaniak Posts: 1,824Admin

    Yeah, you should be able to save it from the inspector while you have the shader editor open.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file