# After I updated the R-116, there was a problem of incorrect color

**URL:** <https://discourse.threejs.org/t/after-i-updated-the-r-116-there-was-a-problem-of-incorrect-color/15268>\
**Category:** Questions\
**Tags:** materials\
**Created:** [May 16, 2020, 9:51am UTC](https://discourse.threejs.org/t/after-i-updated-the-r-116-there-was-a-problem-of-incorrect-color/15268 "2020-05-16T09:51:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack\_1](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jack_1/32/10556_2.png) [@Jack\_1](https://discourse.threejs.org/u/Jack_1)\
**Post date:** [May 16, 2020, 9:51am UTC](https://discourse.threejs.org/t/after-i-updated-the-r-116-there-was-a-problem-of-incorrect-color/15268/1 "2020-05-16T09:51:02Z")

</div>

My previous version is r-111. I don’t know if it’s compatible with Material.vertexColors  
This parameter has something to do with it. Now the solid color is right (#FFFFFF,#000000,#ff0000). The other colors are basically wrong. The color I set is “#EFEFEF”, but the color of scene is “#F8F8F8”, I just upgrade it three.js Version of.

 ![2020.5.16.11111111111111](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/8/822535c0411f0f7d43d562fa003244a92205ddc8.png)  
 ![2020.5.16.2222222222222222](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/6/623afa7654153ae9b374cc98160018206fe2daec.png)

---

<div class="post-metadata">

**Author:** ![Jack\_1](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jack_1/32/10556_2.png) [@Jack\_1](https://discourse.threejs.org/u/Jack_1)\
**Post date:** [May 16, 2020, 9:58am UTC](https://discourse.threejs.org/t/after-i-updated-the-r-116-there-was-a-problem-of-incorrect-color/15268/2 "2020-05-16T09:58:33Z")

</div>

Here’s my color change,  
I set #E4E4E4 to #F3F3F3;  
I set #A8A8A8 to #D4D4D4;  
I set #5A5A5A to #A0A0A0;  
I set #363636 to #F7F7F7;

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [May 16, 2020, 2:48pm UTC](https://discourse.threejs.org/t/after-i-updated-the-r-116-there-was-a-problem-of-incorrect-color/15268/3 "2020-05-16T14:48:09Z")

</div>

Can you please show how you create/configure your renderer?

---

<div class="post-metadata">

**Author:** ![Jack\_1](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jack_1/32/10556_2.png) [@Jack\_1](https://discourse.threejs.org/u/Jack_1)\
**Post date:** [May 18, 2020, 7:43am UTC](https://discourse.threejs.org/t/after-i-updated-the-r-116-there-was-a-problem-of-incorrect-color/15268/5 "2020-05-18T07:43:16Z")

</div>

> [@Mugen87](#):
>
> 能否说明如何创建/配置渲染器

 ![2020.5.18.111111111111](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/f/f231a8d9c26fa70b2cbe1e6c2d503cc57ef16625.png)

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [May 18, 2020, 9:50am UTC](https://discourse.threejs.org/t/after-i-updated-the-r-116-there-was-a-problem-of-incorrect-color/15268/6 "2020-05-18T09:50:59Z")

</div>

Can you remove the line `renderer.outputEncoding = THREE.sRGBEncoding` and see if it helps? `WebGLRenderer.outputEncoding` was introduced with `r112`.

---

<div class="post-metadata">

**Author:** ![Jack\_1](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jack_1/32/10556_2.png) [@Jack\_1](https://discourse.threejs.org/u/Jack_1)\
**Post date:** [May 19, 2020, 12:42am UTC](https://discourse.threejs.org/t/after-i-updated-the-r-116-there-was-a-problem-of-incorrect-color/15268/7 "2020-05-19T00:42:49Z")

</div>

OK, thank you so much. I have found many directions for this problem, but because I haven’t changed the renderer, I haven’t paid attention to the renderer. I’ve been looking for material problems
