chunky icon indicating copy to clipboard operation
chunky copied to clipboard

Glass Panes Have Extra Refraction Boundaries

Open IceSelkie opened this issue 4 years ago • 1 comments

Glass panes have extra AABB regions that cause refraction and reflection to occur, even when moving to a material of the same IoR (glass to glass). For example, even in pane-style glass panes (see below), there appears to be the single column glass pane that also exists within that glass pane.

This is the following image rendered from the outside: glass_pane_out

And from the inside of the glass pane (exactly in the center) glass pane

If I move over 1.5/16 blocks while staying within the glass pane, the pillar can be clearly seen: glasspane outside inner beam

Relevant to discussion on the discord: @leMaik @alexhliu

IceSelkie avatar Apr 13 '21 19:04 IceSelkie

When reflecting off of multiple IOR boundaries that are very close to each other, rays become nondeterministic, with some passing through and some not And this is seen when moving .999/16 blocks to the corner of the middle pillar (to the boundary of this extra object) glasspane corner

IceSelkie avatar Apr 13 '21 22:04 IceSelkie