chunky
chunky copied to clipboard
Improve Refraction
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.
My Test Scene: Refraction Test.zip