These calculations are mainly executed by shaders (that happen to be outlined by texture artists). A shader for glass, as an example, considers what things are rendered guiding the glass. Then only tints that colour to https://elodieipco486046.tribunablog.com/the-5-second-trick-for-3d-animation-43038282