| 1234567891011121314151617181920212223242526272829303132333435363738 |
- import NodeMaterial from './NodeMaterial.js';
- import ToonLightingModel from '../../nodes/functions/ToonLightingModel.js';
- import { MeshToonMaterial } from '../MeshToonMaterial.js';
- const _defaultValues = /*@__PURE__*/ new MeshToonMaterial();
- class MeshToonNodeMaterial extends NodeMaterial {
- static get type() {
- return 'MeshToonNodeMaterial';
- }
- constructor( parameters ) {
- super();
- this.isMeshToonNodeMaterial = true;
- this.lights = true;
- this.setDefaultValues( _defaultValues );
- this.setValues( parameters );
- }
- setupLightingModel( /*builder*/ ) {
- return new ToonLightingModel();
- }
- }
- export default MeshToonNodeMaterial;
|