diff --git a/Sources/iron/object/MeshObject.hx b/Sources/iron/object/MeshObject.hx index d8729d29..80c78fc0 100644 --- a/Sources/iron/object/MeshObject.hx +++ b/Sources/iron/object/MeshObject.hx @@ -162,7 +162,7 @@ class MeshObject extends Object { var isShadow = context == "shadowmap"; if (!visible && !isShadow) return setCulled(isShadow, true); - //if (!visibleShadow && isShadow) return setCulled(isShadow, true); + if (!visibleShadow && isShadow) return setCulled(isShadow, true); if (skip_context == context) return setCulled(isShadow, true); if (force_context != null && force_context != context) return setCulled(isShadow, true);