# Old project model rendering

**URL:** <https://discourse.threejs.org/t/old-project-model-rendering/55694>\
**Category:** Questions\
**Tags:** materials\
**Created:** [September 5, 2023, 8:53am UTC](https://discourse.threejs.org/t/old-project-model-rendering/55694 "2023-09-05T08:53:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Sili](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/david_sili/32/39672_2.png) [@David\_Sili](https://discourse.threejs.org/u/David_Sili)\
**Post date:** [September 5, 2023, 8:53am UTC](https://discourse.threejs.org/t/old-project-model-rendering/55694/1 "2023-09-05T08:53:12Z")

</div>

Hello, I am struggling with something that I hope you will be able to help me with:  
I have a project that I’m working on which uses React 17.0.2 (three: 0.133.0; @react-thre/fiber: 7.0.10; @react-three/drei: 7.13.0; @types/three: 0133.0). I have also set up a quick test React app with the newest stable React 18.2.0 and plugins (three: 0.156.0; @react-three/fiber: 8.14.0; @react-three/drei: 9.81.0; @types/three: 0.155.1).  
On my test app I have managed to render the model as it could be seen in other online 3d model viewer apps. However, when I render the same model in the main project (older plugin versions) I get a **much more pale model** (black becomes gray and the light turquoise color is barely visible.)  
I have played around with lighting and shadows and managed to get it darker, but the colors were still without their original intensity (and the shadows would also be gone then).  
Is there a way to achieve the same or at least similar rendering of colors/materials that is possible when using the latest versions of the plugins?  
Also, the code for rendering is exactly the same.

Thanks in advance.

 ![lamps3d](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/1/9/19e43c40c9582b64b96d14ea8347f653076781fc.png)

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [September 5, 2023, 9:20am UTC](https://discourse.threejs.org/t/old-project-model-rendering/55694/2 "2023-09-05T09:20:05Z")

</div>

threejs went through a series of changes that affect lights and colors.

> [@Updates to Color Management in three.js r152](https://discourse.threejs.org/t/updates-to-color-management-in-three-js-r152/50791/43):
>
> Non-color maps are not sRGB-encoded, even if they’re PNG or JPEG files. By “non-color” we mean their RGB channels are being used to represent data — normal vectors, opacities, and PBR properties — rather than to represent visible color. It’s also worth noting that while PNG and JPEG files do contain color space metadata (usually claiming to be sRGB) that metadata is inaccurate more often than not, for these files. Also note: Blender has the same concept of non-color textures, and should export…

> [@Updates to lighting in three.js r155](https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733/18):
>
> No, because that changes the size of the scene in the 3D world, but not the world itself, due to a Scene being merely a top-level node in the transform graph (any transform you apply to it is currently equivalent to the same transform as if it were an Object3D). It could be possible, but would need to be implemented. Once always-physical lights is released and well tested, then it might make sense to think about adding options (if maintainers agree with the added complexity), f.e. changing the …

fiber is not really wrapping threejs or changing it, you pair it with any threejs version you like and it will display in accordance with that version. so from version 152 on until latest you need to be aware of new encodings and how physical lights work.

---

<div class="post-metadata">

**Author:** ![David\_Sili](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/david_sili/32/39672_2.png) [@David\_Sili](https://discourse.threejs.org/u/David_Sili)\
**Post date:** [September 5, 2023, 1:41pm UTC](https://discourse.threejs.org/t/old-project-model-rendering/55694/3 "2023-09-05T13:41:32Z")

</div>

I did update `three` to the latest version. I’ve tried updating other related plugins but they were not compatible. Now I have another challenge. The color is ok, but somehow it does not react to the light the same way it did (it has lost its shininess). I have managed to mitigate it to a degree using 6 directional lights (from all directions).  
Thank you for your help!

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [September 5, 2023, 2:07pm UTC](https://discourse.threejs.org/t/old-project-model-rendering/55694/4 "2023-09-05T14:07:17Z")

</div>

more lights === more expense. since three 155 light works very differently than before, you need to go through these posts to figure out how to get back to old results, and it may not even be fully possible. the lights now work in the same way as they do in blender.

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [September 5, 2023, 2:16pm UTC](https://discourse.threejs.org/t/old-project-model-rendering/55694/5 "2023-09-05T14:16:23Z")

</div>

alternatively you can do

```jsx
<Canvas gl={{ useLegacyLights: true }}>

```

---

<div class="post-metadata">

**Author:** ![trusktr](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/trusktr/32/13726_2.png) [@trusktr](https://discourse.threejs.org/u/trusktr)\
**Post date:** [September 7, 2023, 5:06am UTC](https://discourse.threejs.org/t/old-project-model-rendering/55694/6 "2023-09-07T05:06:11Z")

</div>

Also note legacy lights will be removed.
