You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<lume-autoinstance><lume-element3d><!-- A --><lume-meshhas="phong-material sphere-geometry" ...></lume-mesh><lume-element3d><!-- B --><lume-meshhas="physical-material sphere-geometry" ...></lume-mesh><!-- A --><lume-meshhas="phong-material sphere-geometry" ...></lume-mesh></lume-element3d><lume-element3d><!-- B --><lume-meshhas="physical-material sphere-geometry" ...><!-- A --><lume-meshhas="phong-material sphere-geometry" ...></lume-mesh></lume-mesh></lume-element3d></lume-element3d></lume-autoinstance>
and it would instance the meshes marked with A, ad the meshes marked with B, so the result would be like having two InstancedMeshes.
Maybe it can be behaviors:
<lume-element3dhas="autoinstance"><!-- ...same as before... --></lume-element3d>
The text was updated successfully, but these errors were encountered:
Given some sub tree,
we'd be able to wrap it with auto instancing,
and it would instance the meshes marked with
A
, ad the meshes marked withB
, so the result would be like having twoInstancedMeshes
.Maybe it can be behaviors:
The text was updated successfully, but these errors were encountered: