chunky icon indicating copy to clipboard operation
chunky copied to clipboard

Improve Refraction

Open ThatRedox opened this issue 2 years ago • 1 comments

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.

ThatRedox avatar Jul 05 '23 04:07 ThatRedox

My Test Scene: Refraction Test.zip image

ThatRedox avatar Jul 05 '23 04:07 ThatRedox