Accueil / npm / three@0.171.0 / src / nodes / accessors / MaterialProperties.js

MaterialProperties.js

import { uniform } from '../core/UniformNode.js';

export const materialRefractionRatio = /*@__PURE__*/ uniform( 0 ).onReference( ( { material } ) => material ).onRenderUpdate( ( { material } ) => material.refractionRatio );