Browse Source

Merge pull request #19721 from jhlee4/dev

TS: Change 'Material' to 'ShaderMaterial' in ShaderPass
Mr.doob 5 years ago
parent
commit
663cee8a7f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/jsm/postprocessing/ShaderPass.d.ts

+ 2 - 2
examples/jsm/postprocessing/ShaderPass.d.ts

@@ -1,5 +1,5 @@
 import {
-	Material
+	ShaderMaterial
 } from '../../../src/Three';
 
 import { Pass } from './Pass';
@@ -9,7 +9,7 @@ export class ShaderPass extends Pass {
 	constructor( shader: object, textureID?: string );
 	textureID: string;
 	uniforms: { [name: string]: { value: any } };
-	material: Material;
+	material: ShaderMaterial;
 	fsQuad: object;
 
 }