提交 d9e83249 编写于 作者: B Bastien Robert

remove useless defines declarations in extended materials

上级 19ef82b9
......@@ -126,7 +126,7 @@ export class Material extends EventDispatcher {
* Whether to render the material's color. This can be used in conjunction with a mesh's .renderOrder property to create invisible objects that occlude other objects. Default is true.
*/
colorWrite: boolean;
/**
* Custom defines to be injected into the shader. These are passed in form of an object literal, with key/value pairs. { MY_CUSTOM_DEFINE: '' , PI2: Math.PI * 2 }.
* The pairs are defined in both vertex and fragment shaders. Default is undefined.
......
......@@ -22,7 +22,6 @@ export class MeshPhysicalMaterial extends MeshStandardMaterial {
constructor( parameters: MeshPhysicalMaterialParameters );
defines: any;
reflectivity: number;
clearcoat: number;
clearcoatRoughness: number;
......
......@@ -41,7 +41,6 @@ export class MeshStandardMaterial extends Material {
constructor( parameters?: MeshStandardMaterialParameters );
defines: any;
color: Color;
roughness: number;
metalness: number;
......
......@@ -12,7 +12,6 @@ import { MaterialParameters, Material } from './Material';
*/
export interface ShaderMaterialParameters extends MaterialParameters {
defines?: any;
uniforms?: any;
vertexShader?: string;
fragmentShader?: string;
......@@ -36,7 +35,6 @@ export class ShaderMaterial extends Material {
constructor( parameters?: ShaderMaterialParameters );
defines: any;
uniforms: { [uniform: string]: IUniform };
vertexShader: string;
fragmentShader: string;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册