Casting shadows with displayconduit drawn meshes

Hello,

I am using a DisplayConduit to display some meshes in the viewport. However, the drawn mesh does not cast any shadows in the viewport. Because of this they end up looking “cartoony” compared to RhinoObjects in the document.

Is there any way to make displayconduit objects cast shadows? I am using PostDrawObjects() to draw my plugin objects. But switching to PreDrawObjects() also does not make any difference.

Note: I am using Rhincommon.dll from Rhino 6 inside Rhino 7 application to maintain back compat with out existing clients.

Hi @vaibhav.shah,

Without sample code, I can only assume this is the issue.

https://mcneel.myjetbrains.com/youtrack/issue/RH-54147

@jeff would know more.

– Dale