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

One Bounce Caustics #74

Closed
MilchRatchet opened this issue Jun 1, 2022 · 0 comments · Fixed by #97
Closed

One Bounce Caustics #74

MilchRatchet opened this issue Jun 1, 2022 · 0 comments · Fixed by #97
Labels
GPU Runs on the GPU Visual

Comments

@MilchRatchet
Copy link
Owner

Just an idea:
SIngle bounce caustics are simple. Simply sample a smooth surface and a light source and trace that path. This cannot be combined into the current pipeline. However, it is completely feasible to add a second pipeline that computes only the caustics. I would say merging the two images through simply adding the colors is probably correct.
For this a separate caustics sample count could be definable.
Essentially I want to do something like select triangle and light. Assume triangle is fully smooth. Find point on triangle such that light is hit. Then check whether the two rays that make up that path are occluded. Light selection is a bit tricky here. I should probably select the light based on which smooth triangle I selected. Spatial resampling is probably not useful here as it will mostly depend on the selected triangle and not the start position / screen position.
Another issue is the solid angle. Ideally I figure out the angle of all paths that would hit the light source. Not sure how simple that will be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GPU Runs on the GPU Visual
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant