Combining shaders and materials something akin to unreal engine's visual materials? #10697
Shadowblitz16
started this conversation in
3D
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What do you guys think of combining godot's shaders and materials into something like to what unreal engine has?
Unreal engine basically has something called materials and material instances.
Materials are a compiled material graph and material instances would basically be a resource that ties to a certain material.
For example you might want to have a custom material called rgb
You would export 3 floats or a vec3 and compile your shader
Then you might have a rgb material instance called red which is set to 255,0,0
This might even be representable as a intermediate shader code like what we have now, but would compile down to a material instead of a shader.
Beta Was this translation helpful? Give feedback.
All reactions