The dielectric material needs to determine the local normal (swap the normal if inside the material). This calculation should be moved into the geometry hit function
The dielectric material needs to determine the local normal (swap the normal if inside the material).
This calculation should be moved into the geometry hit function