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 sampling #5

Open
teamclouday opened this issue May 21, 2022 · 0 comments
Open

Light sampling #5

teamclouday opened this issue May 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@teamclouday
Copy link
Owner

Need to support sampling for objects as lights. Currently the only light source is the emission color, skybox and pre-defined directional/point lights which do not attach to objects. Surface light or sphere light are usually an object in the scene.
The BVH loader should be able to detect it and set its property to be used as source lights.
Compute shader should have a loop to sample all lights.

@teamclouday teamclouday added the enhancement New feature or request label May 21, 2022
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