Browse Source

Update kernelSize type

Fix Inconsistent type on `kernelSize` to a number. 
The plain version of the SSAOPass.js takes a number type
but it's typed as a `boolean` here.
iamcastelli 5 years ago
parent
commit
8ba1432eac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/postprocessing/SSAOPass.d.ts

+ 1 - 1
examples/jsm/postprocessing/SSAOPass.d.ts

@@ -22,7 +22,7 @@ export class SSAOPass extends Pass {
 	height: boolean;
 	clear: boolean;
 	kernelRadius: number;
-	kernelSize: boolean;
+	kernelSize: number;
 	kernel: Vector3[];
 	noiseTexture: DataTexture;
 	output: number;