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

Commit

Permalink
use max_light 24
Browse files Browse the repository at this point in the history
  • Loading branch information
e2002e committed Feb 14, 2024
1 parent d5a8c2d commit 7528ba2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/iron/object/LightObject.hx
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,8 @@ class LightObject extends Object {
return 8;
#elseif (rp_max_lights == 16)
return 16;
#elseif (rp_max_lights == 24)
return 24;
#elseif (rp_max_lights == 32)
return 32;
#elseif (rp_max_lights == 64)
Expand All @@ -648,6 +650,8 @@ class LightObject extends Object {
return 8;
#elseif (rp_max_lights_cluster == 16)
return 16;
#elseif (rp_max_lights == 24)
return 24;
#elseif (rp_max_lights_cluster == 32)
return 32;
#elseif (rp_max_lights_cluster == 64)
Expand Down

0 comments on commit 7528ba2

Please sign in to comment.