all light types and shadows are working, pending a lot of clean-up
This commit is contained in:
parent
6b2a27bbe5
commit
cacf9ebb7f
38 changed files with 3241 additions and 418 deletions
|
|
@ -410,7 +410,7 @@ Ref<Mesh> SurfaceTool::commit(const Ref<Mesh>& p_existing) {
|
|||
|
||||
}
|
||||
|
||||
mesh->add_surface(primitive,a);
|
||||
mesh->add_surface_from_arrays(primitive,a);
|
||||
if (material.is_valid())
|
||||
mesh->surface_set_material(surface,material);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue