# ReflectionTexture roughness on imported model

**URL:** <https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772>\
**Category:** Questions\
**Tags:** lighting, material\
**Created:** [April 27, 2022, 11:29am UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772 "2022-04-27T11:29:06Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jannick](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jannick/32/36560_2.png) [@Jannick](https://forum.babylonjs.com/u/Jannick)\
**Post date:** [April 27, 2022, 11:29am UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/1 "2022-04-27T11:29:06Z")

</div>

Hello again!

I’m trying to get a reflection on an imported models material by creating a probe in the scene and overriding the reflectionTexture on the model. It seems to work, but one odd thing I noticed is that the roughness and metallic sliders don’t really seem to do what they are meant to. The rougness doesn’t “blur” at all and rather just changes the color slightly of the material.

I don’t really know why or how to fix it, and if it’s a potential bug even, maybe I’m doing something wrong 😄

PG:

> **[Babylon.js Playground](https://playground.babylonjs.com/#WGZLGJ%235000)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

(Note, rotate the camera to look underneath the plane to see the reflection)

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [April 27, 2022, 12:00pm UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/2 "2022-04-27T12:00:58Z")

</div>

Hi,

> [@Jannick](#):
>
> The rougness doesn’t “blur” at all and rather just changes the color slightly of the material.

What do you expect? There’s nothing to blur in this material, there’s no albedoTexture.  
It certainly won’t blur the reflection. The metallic ‘roughness’ applies to the material/texture, not to the reflection. It will apply to the reflection only through the texture applied to this material. Since there’s not texture… And the fact that it changes color/intensity when changing the levels, simply shows that it’s working 😉

Edit: Apologies, I have just quickly tried to fix this but it seems something is just not entirely correct here…Sadly, I have something else right now. Hopefully someone else could have a look at it meanwhile. @sebavan @Evgeni_Popov may be?

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jannick/32/36560_2.png) [@Jannick](https://forum.babylonjs.com/u/Jannick)\
**Post date:** [April 27, 2022, 12:38pm UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/3 "2022-04-27T12:38:45Z")

</div>

I don’t really understand where you are coming from. Why wouldn’t it blur the reflection? As I see, it does it just fine on one of your example PGS:

> **[Babylon.js Playground](https://playground.babylonjs.com/#2FDQT5%231556)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [April 27, 2022, 12:43pm UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/4 "2022-04-27T12:43:23Z")

</div>

Yes, it does. I thought it wouldn’t (again apologies). But this one is not with a probe but from pre-filtered data, reason why I edited my post after just a very quick check, saying ‘something might not be correct’…  
Hopefully, we’ll soon find out what is… stay tuned.

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jannick/32/36560_2.png) [@Jannick](https://forum.babylonjs.com/u/Jannick)\
**Post date:** [April 27, 2022, 12:43pm UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/5 "2022-04-27T12:43:58Z")

</div>

Ah alright, I must have misunderstood then 😃 Staying tuned

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 27, 2022, 2:29pm UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/6 "2022-04-27T14:29:53Z")

</div>

The “blur” is only possible with a prefiltered environment which is not the case with a probe. In this case, you need to use realTimeFiltering on the PBR Material.

More info can be found here: [Real time PBR filtering is coming to Babylon | by Babylon.js | Medium](https://babylonjs.medium.com/real-time-pbr-filtering-is-coming-to-babylon-cb0e81159d79)  
and  
[Reflection Probes | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/environment/reflectionProbes#probes-and-pbr)

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [April 27, 2022, 3:29pm UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/7 "2022-04-27T15:29:26Z")

</div>

Good to know. Thx for the info. I knew there must be a reason alike, just couldn’t find it. On the other hand, I don’t have your skills and XP 😉 At least, not yet. Working 👷‍♂️ on it.

---

<div class="post-metadata">

**Author:** ![Jannick](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jannick/32/36560_2.png) [@Jannick](https://forum.babylonjs.com/u/Jannick)\
**Post date:** [April 28, 2022, 6:55am UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/8 "2022-04-28T06:55:54Z")

</div>

Thanks a ton, got it all working now! Good to know as well that the prefiltered environment has some extra functionality.

Leaving a solution PG here for others who stumpled upon the same confusion as I did:

> **[Babylon.js Playground](https://playground.babylonjs.com/#WGZLGJ%235003)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [April 28, 2022, 8:12am UTC](https://forum.babylonjs.com/t/reflectiontexture-roughness-on-imported-model/29772/9 "2022-04-28T08:12:42Z")

</div>

Glad to see that and thanks for the PG which is certainly helpful (for me and others 😃  
Again, apologies for my initial answer. A bit too rushy and may be inappropriate.  
Well, at least you got your answer and the result is good (I can confirm).  
GL with your project, Cheers,
