# \#pmrem

**URL:** https://discourse.threejs.org/tag/pmrem/661.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Textured RectAreaLights, what is the state of things?](https://discourse.threejs.org/t/textured-rectarealights-what-is-the-state-of-things/56227)

<div class="topic-metadata">

**Author:** [@aaaidan](https://discourse.threejs.org/u/aaaidan)\
**Replies:** 5\
**Last updated:** [December 6, 2025, 1:51pm UTC](https://discourse.threejs.org/t/textured-rectarealights-what-is-the-state-of-things/56227 "2025-12-06T13:51:17Z")

</div>

Hi all, I would like to know what the state of things is for supporting textures on RectAreaLight planes. This is similar to (but distinct from) textured spotlights, for which there are demos. Area lights are a great m…

---

## [Issue rotating HDR Lighting](https://discourse.threejs.org/t/issue-rotating-hdr-lighting/73221)

<div class="topic-metadata">

**Author:** [@Ammad](https://discourse.threejs.org/u/Ammad)\
**Replies:** 6\
**Last updated:** [October 25, 2024, 3:29pm UTC](https://discourse.threejs.org/t/issue-rotating-hdr-lighting/73221 "2024-10-25T15:29:18Z")

</div>

My main objective was to rotate the environment but keeping the gltf or object form rotating. I managed to do that using backgroundRotation from the scene.backgroundRotation but on testing I noticed that the lighting wa…

---

## [PMREMGenrator migration with cubecamera not placed in center of scene](https://discourse.threejs.org/t/pmremgenrator-migration-with-cubecamera-not-placed-in-center-of-scene/49175)

<div class="topic-metadata">

**Author:** [@Amritesh\_Anand](https://discourse.threejs.org/u/Amritesh_Anand)\
**Replies:** 0\
**Last updated:** [March 16, 2023, 1:09pm UTC](https://discourse.threejs.org/t/pmremgenrator-migration-with-cubecamera-not-placed-in-center-of-scene/49175 "2023-03-16T13:09:54Z")

</div>

I was migrating my ReflectionManager code and wanted to generate environment map from the centre of the room. There are so many different references which do not work can anyone point me in the right direction this was…

---

## [Bad performances when animating a PMREMGenerator environment](https://discourse.threejs.org/t/bad-performances-when-animating-a-pmremgenerator-environment/48043)

<div class="topic-metadata">

**Author:** [@TheCat](https://discourse.threejs.org/u/TheCat)\
**Replies:** 2\
**Last updated:** [February 15, 2023, 8:59am UTC](https://discourse.threejs.org/t/bad-performances-when-animating-a-pmremgenerator-environment/48043 "2023-02-15T08:59:15Z")

</div>

Hi, I was intrigued by this thread and decided to try and animate an environment in vanilla three.js. It worked but with very poor performances so I was wondering if my approach was right? const environment\_scene = ne…

---

## [Exporting PMREMGenerator output to .bin files?](https://discourse.threejs.org/t/exporting-pmremgenerator-output-to-bin-files/45670)

<div class="topic-metadata">

**Author:** [@whycobb](https://discourse.threejs.org/u/whycobb)\
**Replies:** 5\
**Last updated:** [December 12, 2022, 8:31pm UTC](https://discourse.threejs.org/t/exporting-pmremgenerator-output-to-bin-files/45670 "2022-12-12T20:31:29Z")

</div>

Howdy, my team uses Three version 129 and I’m exploring the possibility of moving to 147. We have an internal tool which loads equirectangular .hdr files, runs them through PMREMGenerator, and then saves the output to a…

---

## [Improving PMREMGenerator by using Cubemap instead of CubeUVMap?](https://discourse.threejs.org/t/improving-pmremgenerator-by-using-cubemap-instead-of-cubeuvmap/35587)

<div class="topic-metadata">

**Author:** [@ingun37](https://discourse.threejs.org/u/ingun37)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 11:48am UTC](https://discourse.threejs.org/t/improving-pmremgenerator-by-using-cubemap-instead-of-cubeuvmap/35587 "2022-03-05T11:48:26Z")

</div>

I’ve been using PMREM recently and I realized THREE.JS internally uses Cube-UV-Map (idk if it’s the general term or THREEJS specific) which is a projection of multi-level cubemap into plane 2d texture. As far as I know …

---

## [How can we prevent environment map from having lower resolution?](https://discourse.threejs.org/t/how-can-we-prevent-environment-map-from-having-lower-resolution/22160)

<div class="topic-metadata">

**Author:** [@trusktr](https://discourse.threejs.org/u/trusktr)\
**Replies:** 10\
**Last updated:** [February 14, 2022, 8:47pm UTC](https://discourse.threejs.org/t/how-can-we-prevent-environment-map-from-having-lower-resolution/22160 "2022-02-14T20:47:07Z")

</div>

For example, in this pen, the scene background appears to have lower resolution. This is the original image: https://assets.codepen.io/191583/airplane-hanger-env-map.jpg The code that loads the image isn’t directly …

---

## [Environment Map Quality Problem](https://discourse.threejs.org/t/environment-map-quality-problem/24921)

<div class="topic-metadata">

**Author:** [@turkkan](https://discourse.threejs.org/u/turkkan)\
**Replies:** 12\
**Last updated:** [February 7, 2022, 3:10pm UTC](https://discourse.threejs.org/t/environment-map-quality-problem/24921 "2022-02-07T15:10:35Z")

</div>

Hi everyone, I’m trying to build app needs realistic rendering. So First im trying to make everything okay for HDR environment map. As far as i see in documentation .fromEquirectangular code gives an output 256x256 so…

---

## [Brighter envmaps since r131](https://discourse.threejs.org/t/brighter-envmaps-since-r131/33289)

<div class="topic-metadata">

**Author:** [@tfreifeld](https://discourse.threejs.org/u/tfreifeld)\
**Replies:** 3\
**Last updated:** [January 5, 2022, 9:07am UTC](https://discourse.threejs.org/t/brighter-envmaps-since-r131/33289 "2022-01-05T09:07:38Z")

</div>

In the migration guide, it says the following: The envMap property of MeshStandardMaterial and MeshPhysicalMaterial is now internally converted to a PMREM. It might be necessary to update the scene’s lighting if no PM…

---

## [pmremGenerator EXR not Showing up on iOS](https://discourse.threejs.org/t/pmremgenerator-exr-not-showing-up-on-ios/30643)

<div class="topic-metadata">

**Author:** [@D13](https://discourse.threejs.org/u/D13)\
**Replies:** 4\
**Last updated:** [October 9, 2021, 10:53am UTC](https://discourse.threejs.org/t/pmremgenerator-exr-not-showing-up-on-ios/30643 "2021-10-09T10:53:38Z")

</div>

I’m using a pmremGenerator with a .png image. Shows up great on everything but smartphones. Any idea why this is happening?

---

## [How to get higher resolution environment map reflections](https://discourse.threejs.org/t/how-to-get-higher-resolution-environment-map-reflections/29871)

<div class="topic-metadata">

**Author:** [@bkeenan](https://discourse.threejs.org/u/bkeenan)\
**Replies:** 2\
**Last updated:** [September 14, 2021, 4:14am UTC](https://discourse.threejs.org/t/how-to-get-higher-resolution-environment-map-reflections/29871 "2021-09-14T04:14:06Z")

</div>

Hi all, does anyone know how to get higher resolution reflections? Thanks! I get very pixelated reflections in a smooth metallic material, even though the source image is very sharp, which you can see in the background,…

---

## [Help with preprocessing an envMap with PMREMGenerator](https://discourse.threejs.org/t/help-with-preprocessing-an-envmap-with-pmremgenerator/25059)

<div class="topic-metadata">

**Author:** [@tfreifeld](https://discourse.threejs.org/u/tfreifeld)\
**Replies:** 1\
**Last updated:** [April 5, 2021, 8:55am UTC](https://discourse.threejs.org/t/help-with-preprocessing-an-envmap-with-pmremgenerator/25059 "2021-04-05T08:55:12Z")

</div>

I’m trying to understand how to preprocess envMaps correctly with the PMREMGenerator. My current situation: I create a PMREM immediately after setting up my scene, and compile its equirectangular shader (that compile s…

---

## [Increase resolution of PMREM output?](https://discourse.threejs.org/t/increase-resolution-of-pmrem-output/14075)

<div class="topic-metadata">

**Author:** [@marquizzo](https://discourse.threejs.org/u/marquizzo)\
**Replies:** 5\
**Last updated:** [March 25, 2021, 3:58pm UTC](https://discourse.threejs.org/t/increase-resolution-of-pmrem-output/14075 "2021-03-25T15:58:39Z")

</div>

I’m using the PMREMGenerator with an equirectangular texture to create my environment reflections. I’ve noticed that the output is always 768x768, regardless of the size of the input image I provide: Is there a way to…

---

## [PMREMGenerator resolution settings](https://discourse.threejs.org/t/pmremgenerator-resolution-settings/16112)

<div class="topic-metadata">

**Author:** [@JohannesDeml](https://discourse.threejs.org/u/JohannesDeml)\
**Replies:** 3\
**Last updated:** [March 24, 2021, 8:41am UTC](https://discourse.threejs.org/t/pmremgenerator-resolution-settings/16112 "2021-03-24T08:41:14Z")

</div>

Is there a way to set the resolution for the PMREM generated texture? I saw that in previous versions, this was possible but taken out due to performance issues. Since, that was in 2016 I’m wondering if anything changed …

---

## [Any reason to keep PMREMGenerator alive? Or always dispose after getting initial textures?](https://discourse.threejs.org/t/any-reason-to-keep-pmremgenerator-alive-or-always-dispose-after-getting-initial-textures/22159)

<div class="topic-metadata">

**Author:** [@trusktr](https://discourse.threejs.org/u/trusktr)\
**Replies:** 2\
**Last updated:** [January 10, 2021, 5:55pm UTC](https://discourse.threejs.org/t/any-reason-to-keep-pmremgenerator-alive-or-always-dispose-after-getting-initial-textures/22159 "2021-01-10T17:55:37Z")

</div>

The demos dispose of the PMREMGenerator instance right after the environment textures are created. Seems like it is used only for setup, f.e. take your env map, PMREM it, throw the generator away. What use cases are the…

---

## [PMREM env map is not supported on some integrated graphic cards](https://discourse.threejs.org/t/pmrem-env-map-is-not-supported-on-some-integrated-graphic-cards/14218)

<div class="topic-metadata">

**Author:** [@Kromahtique](https://discourse.threejs.org/u/Kromahtique)\
**Replies:** 6\
**Last updated:** [April 9, 2020, 4:33pm UTC](https://discourse.threejs.org/t/pmrem-env-map-is-not-supported-on-some-integrated-graphic-cards/14218 "2020-04-09T16:33:44Z")

</div>

Hi everyone, My team and I are developing a game using an environment map that is generated by the PMREMGenerator. But recently we’ve noticed that some desktop computer won’t support this feature and return as an error …

---

## [HDR Environment map doesn't work unless I convert it to a PMREM](https://discourse.threejs.org/t/hdr-environment-map-doesnt-work-unless-i-convert-it-to-a-pmrem/13378)

<div class="topic-metadata">

**Author:** [@looeee](https://discourse.threejs.org/u/looeee)\
**Replies:** 9\
**Last updated:** [March 9, 2020, 11:31am UTC](https://discourse.threejs.org/t/hdr-environment-map-doesnt-work-unless-i-convert-it-to-a-pmrem/13378 "2020-03-09T11:31:00Z")

</div>

MeshStandardMaterial doesn’t work with a HDR equirectangular environment map unless I convert it to a PMREM. Not sure if this ever worked, but I feel like I would have noticed before if it was not possible. Here’s a pe…

---

## [GGX mipmap sampling](https://discourse.threejs.org/t/ggx-mipmap-sampling/9039)

<div class="topic-metadata">

**Author:** [@sinokgr](https://discourse.threejs.org/u/sinokgr)\
**Replies:** 0\
**Last updated:** [August 14, 2019, 8:51am UTC](https://discourse.threejs.org/t/ggx-mipmap-sampling/9039 "2019-08-14T08:51:14Z")

</div>

Hi all, I was trying to mimic the mipmap sampling from this example, but for some reason, it doesn’t work on my project. I tried both with the HDR and the LDR images using the code I found on the example but I had no lu…
