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

Commit

Permalink
Merge pull request #207 from e2002e/main
Browse files Browse the repository at this point in the history
Add support for 24 light.
  • Loading branch information
luboslenco authored Feb 15, 2024
2 parents f4fd0b2 + 5db3bb9 commit 9760803
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_cluster == 24)
return 24;
#elseif (rp_max_lights_cluster == 32)
return 32;
#elseif (rp_max_lights_cluster == 64)
Expand Down

0 comments on commit 9760803

Please sign in to comment.