Function ShaderMaterialParse
-
Parameters
- source: any
defines the JSON representation of the material
- scene: Scene
defines the hosting scene
- rootUrl: string
defines the root URL to use to load textures and relative dependencies
Returns ShaderMaterial
a new material
- source: any
Creates a shader material from parsed shader material data