+1 vote


It's possible to reuse shader fragment (for exemple vertex) from one shader file in few others?
I have deformation shader (vertex) what I need to apply in every shaders in my game, but it's very problematic when I need to change anything in it.
So I'm looking for some sort of shaders inheritance. How can I do that?

in Engine by (227 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.