mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
-Added proper access to depth texture from shader
-Split Mesh into Mesh (abstrat class) and ArrayMesh, to allow to proper mesh primitives, as well as streamable meshes in the future.
This commit is contained in:
parent
5f5d629c8a
commit
5bf810b5db
27 changed files with 590 additions and 550 deletions
|
|
@ -3055,8 +3055,8 @@ void SpatialEditor::_init_indicators() {
|
|||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
|
||||
move_gizmo[i] = Ref<Mesh>(memnew(Mesh));
|
||||
rotate_gizmo[i] = Ref<Mesh>(memnew(Mesh));
|
||||
move_gizmo[i] = Ref<ArrayMesh>(memnew(ArrayMesh));
|
||||
rotate_gizmo[i] = Ref<ArrayMesh>(memnew(ArrayMesh));
|
||||
|
||||
Ref<SpatialMaterial> mat = memnew(SpatialMaterial);
|
||||
mat->set_flag(SpatialMaterial::FLAG_UNSHADED, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue