0 votes

I have a mesh with 3 materials.
I want to render the 3 materials in a specific order, which is:
material a over material b. and render material c as normal.

For over means that material a is always render on top of material b.
And material c should render as normal, which means material a will not over material c.

It is possible in godot?
or is there any render queue equivalent in godot?

Thanks

in Engine by (241 points)

Assuming all 3 materials are transparent in anyway, changing their individual render priority should do the trick. The one you want to render first should have the highest priority.

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.