2
0
Эх сурвалжийг харах

SSAOShader: Lower size of kernel from 64 to 32.

Mugen87 6 жил өмнө
parent
commit
04dc35fa49

+ 1 - 1
examples/js/postprocessing/SSAOPass.js

@@ -15,7 +15,7 @@ THREE.SSAOPass = function ( scene, camera, width, height ) {
 	this.scene = scene;
 
 	this.kernelRadius = 8;
-	this.kernelSize = 64;
+	this.kernelSize = 32;
 	this.kernel = [];
 	this.noiseTexture = null;
 	this.output = 0;

+ 1 - 1
examples/js/shaders/SSAOShader.js

@@ -11,7 +11,7 @@ THREE.SSAOShader = {
 
 	defines: {
 		"PERSPECTIVE_CAMERA": 1,
-		"KERNEL_SIZE": 64
+		"KERNEL_SIZE": 32
 	},
 
 	uniforms: {