Skip to content

Filamat VS Matc #4118

Answered by romainguy
ThomasGorisse asked this question in Q&A
Jun 10, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

matc is just a command line wrapper around filamat. However, filamat-lite has two major limitations: it can only target GLSL (this means it cannot be used with Vulkan or Metal backends), and does not perform any optimizations. Not having optimizations is probably ok but they are greatly helpful for compatibility as they simplify the generated shader.

That said, why is running matc an issue? You only need to recompile material files when we change the material version, which happens rarely nowadays (I think we did once or twice at most in the last 12 months or so).

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ThomasGorisse
Comment options

@romainguy
Comment options

Answer selected by ThomasGorisse
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants