Shadows not working when rendering with displayPipeline.DrawObject

I am working on a simulator that moves object every 12 ms.
When adding the objects to the doc and (with out hiding them)
i get all the best of rendering that rhino can offer
but transforming the RhinoObjects with “RhinoDoc.ActiveDoc.Objects.Transform(guid, t, true)” is very slow

So instead i am using displayPipeline.DrawObject(obj, t); which results in very fast rendering.
But the result is without shadows.

Is there a way to get the shadows rendered???
Or another approach for the simulation rendering?

Thanks

a photo of the rendered simulation with shadows

a photo of the rendered simulation without shadows

Hi @yoav,

What channel are you drawing in? Perhaps you can provide the code to your conduit?

– Dale