Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
fix shadowmap spot atlases.
Browse files Browse the repository at this point in the history
  • Loading branch information
e2002e committed Aug 15, 2024
1 parent 95153bc commit c8be4b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/iron/object/MeshObject.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c8be4b3

Please sign in to comment.