diff --git a/examples/screenshots/webgl_gpgpu_birds_gltf.jpg b/examples/screenshots/webgl_gpgpu_birds_gltf.jpg index 5963be5dd563fc..7a2bd408a087dc 100644 Binary files a/examples/screenshots/webgl_gpgpu_birds_gltf.jpg and b/examples/screenshots/webgl_gpgpu_birds_gltf.jpg differ diff --git a/examples/webgl_gpgpu_birds_gltf.html b/examples/webgl_gpgpu_birds_gltf.html index 1ee4f1181f9ba1..4bc1cc815426fb 100644 --- a/examples/webgl_gpgpu_birds_gltf.html +++ b/examples/webgl_gpgpu_birds_gltf.html @@ -422,7 +422,7 @@ gui.add( effectController, "count", 0, BIRDS, 1 ).onChange( valuesChanger ); gui.close(); - initBirds(); + initBirds(effectController); } @@ -483,7 +483,7 @@ } - function initBirds() { + function initBirds(effectController) { const geometry = BirdGeometry; @@ -500,7 +500,7 @@ shader.uniforms.textureVelocity = { value: null }; shader.uniforms.textureAnimation = { value: textureAnimation }; shader.uniforms.time = { value: 1.0 }; - shader.uniforms.size = { value: 0.1 }; + shader.uniforms.size = { value: effectController.size }; shader.uniforms.delta = { value: 0.0 }; let token = '#define STANDARD';