# Trying to adjust parameters of MeshReflectorMaterial

**URL:** <https://discourse.threejs.org/t/trying-to-adjust-parameters-of-meshreflectormaterial/44963>\
**Category:** Questions\
**Tags:** materials, shaders\
**Created:** [November 21, 2022, 7:45am UTC](https://discourse.threejs.org/t/trying-to-adjust-parameters-of-meshreflectormaterial/44963 "2022-11-21T07:45:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![inbard](https://avatars.discourse-cdn.com/v4/letter/i/58f4c7/32.png) [@inbard](https://discourse.threejs.org/u/inbard)\
**Post date:** [November 21, 2022, 7:45am UTC](https://discourse.threejs.org/t/trying-to-adjust-parameters-of-meshreflectormaterial/44963/1 "2022-11-21T07:45:21Z")

</div>

Hi,  
I want to achieve the effect as seen in here, where it’s more blurred the farther away from the object:

> **[Image Gallery - CodeSandbox](https://codesandbox.io/s/image-gallery-lx2h8?file=%2Fsrc%2FApp.js)**
>
> Stage a couple of frames with a reflective, blurred out ground.

I’m trying to adjust blur falloff in this project: [GitHub - 0beqz/vanilla-threejs-meshreflectormaterial-example: Vanilla three.js MeshReflectorMaterial implementation. All credits for the original implementation go to: https://github.com/pmndrs/drei](https://github.com/0beqz/vanilla-threejs-meshreflectormaterial-example)  
which is a ported vanilla of the MeshReflectorMaterial

my changes in this ported project are:

plane.material = new MeshReflectorMaterial(renderer, camera, scene, plane, {  
resolution: 1024,  
blur: [10000, 800],  
mixBlur: 2.5,  
mixContrast: 1.5,  
mirror: 1,  
maxDepthThreshold: 1.4,  
depthScale: 0.1  
});

// plane.material.setValues({  
// roughnessMap: new THREE.TextureLoader().load(“/roughness.jpg”),  
// normalMap: new THREE.TextureLoader().load(“/normal.png”),  
// normalScale: new THREE.Vector2(0.3, 0.3)  
// })

but all I get is a darker floor and no blur falloff:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/1/6/1605167d2db91f96580772f2b68318b6e95e2e24.jpeg)

does anybody know how to fix this?  
thanks in advance!
