The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

A scene has one object and two cameras.
When the object is viewed by the first camera, it is displayed with a red material, but by the second camera, it is displayed with a blue material.

In my previous used of Three.js, there was a MaterialOverride parameter for each renderer that allowed me to temporarily switch the material of all objects.
Is it possible to do something similar?

What we would like to do in the end is to render the normal data of the map in the first rendering and determine the edges from the normal data in the second rendering.
To do this, I would like to display different materials for the two cameras.

Godot version 3.4
in Engine by (25 points)

Is it correct that it is impossible?

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 Frequently asked questions and 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 [email protected] with your username.