Shadow disapeared on Instanced Objects away from camera

@carpenter

The PR is merged into the main repo. You can build the engine from the master branch and add the below code to disable instance culling. It should resolve the shadow issue you described.

InstancedGeometry.setInstanceCullingFunction(null);

Or you can implement your own instance culling function.

Edit:

Instruction to build engine

2 Likes