Skip to content

Conversation

@ThatRedox
Copy link
Member

Fixes #1515
There was a check in the octree intersection code ignoring intersections with air. Removing this broke the water octree. I put a hack that coerces the ray's current block to be air if it isn't water when intersecting with the water octree. This seems to work for now but probably needs more testing.

…tree not get confused since its now considering air.
@ThatRedox
Copy link
Member Author

My Test Scene: Refraction Test.zip
image

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.

Refraction is incorrect

1 participant