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

Homogenize Depth #1672

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Conversation

ConsueTerra
Copy link
Contributor

Chunky would rely Ray.set(Ray) to increase the depth, however different routines calls this a different amount of times leading to different ray depths in a scene. Here I have removed that change and made ray depth increase explicitly to successive frames in PathTracer.pathTrace. Currently this does not explicitly change the output, but it could be a easy mistake in the future or if the ray depth is needed in other parts of the code.

@leMaik leMaik merged commit faabd3d into chunky-dev:master Dec 15, 2023
1 check passed
@leMaik
Copy link
Member

leMaik commented Dec 15, 2023

Yeah, stuff like this makes understanding the path tracing in Chunky even harder. Thanks for changing it. 👍

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

Successfully merging this pull request may close these issues.

2 participants