Archived discussion

Disable shadow casting for AIS_Shape

VisualizationMon, 04/24/2023 - 16:281 reply

Browse this forum
QuestionAuthor

Hi,
I have a scene with AIS_Shape's which cast shadows. And I want some of them (e.g. shapes created from wires) do not cast shadows. Is this possible to do in opencascade?

Kind regards

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

There is no such per-object interface yet. However, you may move the object to some of immediate Z-Layers (like Graphic3d_ZLayerId_Top or a custom one), as they do not contribute into filling a shadowmap.