提交 04dc35fa 编写于 作者: M Mugen87

SSAOShader: Lower size of kernel from 64 to 32.

上级 a7bd5546
...@@ -15,7 +15,7 @@ THREE.SSAOPass = function ( scene, camera, width, height ) { ...@@ -15,7 +15,7 @@ THREE.SSAOPass = function ( scene, camera, width, height ) {
this.scene = scene; this.scene = scene;
this.kernelRadius = 8; this.kernelRadius = 8;
this.kernelSize = 64; this.kernelSize = 32;
this.kernel = []; this.kernel = [];
this.noiseTexture = null; this.noiseTexture = null;
this.output = 0; this.output = 0;
......
...@@ -11,7 +11,7 @@ THREE.SSAOShader = { ...@@ -11,7 +11,7 @@ THREE.SSAOShader = {
defines: { defines: {
"PERSPECTIVE_CAMERA": 1, "PERSPECTIVE_CAMERA": 1,
"KERNEL_SIZE": 64 "KERNEL_SIZE": 32
}, },
uniforms: { uniforms: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册