Skip to content

Various single-plane nodes have fixed refractive index "vacuum"

Various nodes with only a single, plane surface use refr_index_vacuum suring refract_on_surface call. This only works, if the ambient medium is also vacuum...

Change refractive index to match the index of the incoming beam, so that the beam is unaffected by above call.