shader includes inheritance extending etc.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By websterek

Hi!

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?