These calculations are principally done by shaders (which happen to be described by texture artists). A shader for glass, as an example, considers what components are rendered guiding the glass. Then only tints that https://steveayuq010647.angelinsblog.com/28285000/not-known-factual-statements-about-3d-animation