Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light instancing #1213

Closed
t3kt opened this issue Apr 10, 2024 · 0 comments
Closed

Light instancing #1213

t3kt opened this issue Apr 10, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@t3kt
Copy link
Owner

t3kt commented Apr 10, 2024

As an alternative to multiLight, with support for field-/chop-based positioning / etc

@t3kt t3kt added the enhancement New feature or request label Apr 10, 2024
@t3kt t3kt added this to the 0.41 milestone Apr 10, 2024
t3kt added a commit that referenced this issue Apr 15, 2024
t3kt added a commit that referenced this issue Apr 18, 2024
t3kt added a commit that referenced this issue Apr 18, 2024
t3kt added a commit that referenced this issue Apr 28, 2024
Moved the light usage loop.
Renderer now populates an array with lights and shadow info.
Each material is now responsible for looping over lights to add color from each.

Note that pbrMat and reflectMat have NOT been updated.

see #1213
@t3kt t3kt closed this as completed in 29d00da May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant