Skip to content

DropShadowFilter does not work with InstancedGeometry #3

@Ali-RS

Description

@Ali-RS

Hi,

For instanced geometries, no shadow is rendered under the objects.

in the below line

for( int i = 0; i < size; i++ ) {
Geometry g = casters.get(i);

perhaps we should check if the geometry is an InstancedGeometry and then check its instance list as well.

if (g instanceof InstancedGeometry ig) {
     for (Geometry instance : ig.getGeometries()) {
          // process instance 
     }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions