UNPKG

three

Version:

JavaScript 3D library

18 lines (9 loc) 403 B
import { ShaderMaterial } from './ShaderMaterial.js'; function RawShaderMaterial( parameters ) { ShaderMaterial.call( this, parameters ); this.type = 'RawShaderMaterial'; } RawShaderMaterial.prototype = Object.create( ShaderMaterial.prototype ); RawShaderMaterial.prototype.constructor = RawShaderMaterial; RawShaderMaterial.prototype.isRawShaderMaterial = true; export { RawShaderMaterial };