# Why the color space of PBR material is different between the Playground and the Sandbox enviroment?

**URL:** <https://forum.babylonjs.com/t/why-the-color-space-of-pbr-material-is-different-between-the-playground-and-the-sandbox-enviroment/28330>\
**Category:** Questions\
**Tags:** material\
**Created:** [March 11, 2022, 8:24am UTC](https://forum.babylonjs.com/t/why-the-color-space-of-pbr-material-is-different-between-the-playground-and-the-sandbox-enviroment/28330 "2022-03-11T08:24:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric.J](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/eric.j/32/34502_2.png) [@Eric.J](https://forum.babylonjs.com/u/Eric.J)\
**Post date:** [March 11, 2022, 8:24am UTC](https://forum.babylonjs.com/t/why-the-color-space-of-pbr-material-is-different-between-the-playground-and-the-sandbox-enviroment/28330/1 "2022-03-11T08:24:57Z")

</div>

Hello There!  
When I drag my custom babylon file to the sandbox enviroment, the PBR material seems to be rendered in gamma space. But everything looks fine when the file is loaded in the Playground. What’s the difference? Can I change the color space in the Sandbox?

 ![2](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/6/5/651846c928dfd9977ff1158dab74abeaadd03d62.jpeg)  
 ![1](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/f/efa988c5d6f04dac8dac1e6799b4395ae8f8d167.jpeg)

---

<div class="post-metadata">

**Author:** ![Vinc3r](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vinc3r/32/25340_2.png) [@Vinc3r](https://forum.babylonjs.com/u/Vinc3r)\
**Post date:** [March 11, 2022, 8:34am UTC](https://forum.babylonjs.com/t/why-the-color-space-of-pbr-material-is-different-between-the-playground-and-the-sandbox-enviroment/28330/2 "2022-03-11T08:34:32Z")

</div>

Weird, I don’t have the issue in the sandbox. Note that you don’t have the background loaded, maybe an addon is blocking some content on your side?

[![](https://i.imgur.com/Vpk20p4.png) ](https://i.imgur.com/Vpk20p4.png)

---

<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:** [March 13, 2022, 2:40pm UTC](https://forum.babylonjs.com/t/why-the-color-space-of-pbr-material-is-different-between-the-playground-and-the-sandbox-enviroment/28330/3 "2022-03-13T14:40:46Z")

</div>

I can not repo in the sandbox either, this is indeed really strange ☹ Could you describe the steps you are using to repro ? I would like to address this ASAP

---

<div class="post-metadata">

**Author:** ![Eric.J](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/eric.j/32/34502_2.png) [@Eric.J](https://forum.babylonjs.com/u/Eric.J)\
**Post date:** [March 13, 2022, 5:54pm UTC](https://forum.babylonjs.com/t/why-the-color-space-of-pbr-material-is-different-between-the-playground-and-the-sandbox-enviroment/28330/4 "2022-03-13T17:54:50Z")

</div>

@Vinc3r @sebavan

[https://drive.google.com/drive/folders/1n92ExW0FVGosrnenKFlmLgaGCZnW-Bi2?usp=sharing](https://drive.google.com/drive/folders/1n92ExW0FVGosrnenKFlmLgaGCZnW-Bi2?usp=sharing)

Sorry for the late reply. I changed the babylon file by myself. Maybe something is wrong in the PBR material data. But I cannot find it.

---

<div class="post-metadata">

**Author:** ![Eric.J](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/eric.j/32/34502_2.png) [@Eric.J](https://forum.babylonjs.com/u/Eric.J)\
**Post date:** [March 13, 2022, 6:07pm UTC](https://forum.babylonjs.com/t/why-the-color-space-of-pbr-material-is-different-between-the-playground-and-the-sandbox-enviroment/28330/5 "2022-03-13T18:07:01Z")

</div>

@sebavan @Vinc3r  
I notice that the “\_imageProcessingConfiguration” property is different. When I replace the value of those parameters to the right side. It seems to be OK now!

 ![3](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/0/a06a57d168372e5dbd6cf7a5efce01e96e944b6d.png)

---

<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:** [March 13, 2022, 6:08pm UTC](https://forum.babylonjs.com/t/why-the-color-space-of-pbr-material-is-different-between-the-playground-and-the-sandbox-enviroment/28330/6 "2022-03-13T18:08:25Z")

</div>

makes sense you were having \_applyByPostProcess to true disabling the gamma convertion 🙂
