Make 3D editor gizmos and debug shapes ignore fog
This makes them easier to see in their intended colors in scenes with fog.
This commit is contained in:
parent
251fb83d53
commit
fcbf7011cc
15 changed files with 68 additions and 17 deletions
|
|
@ -458,6 +458,7 @@ MeshInstance3D *MeshInstance3D::create_debug_tangents_node() {
|
|||
sm->set_shading_mode(StandardMaterial3D::SHADING_MODE_UNSHADED);
|
||||
sm->set_flag(StandardMaterial3D::FLAG_SRGB_VERTEX_COLOR, true);
|
||||
sm->set_flag(StandardMaterial3D::FLAG_ALBEDO_FROM_VERTEX_COLOR, true);
|
||||
sm->set_flag(StandardMaterial3D::FLAG_DISABLE_FOG, true);
|
||||
|
||||
Ref<ArrayMesh> am;
|
||||
am.instantiate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue