# How to use HDRI in UE4 4.20

**URL:** <https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [February 7, 2019, 10:56pm UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142 "2019-02-07T22:56:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![estudioae](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@estudioae](https://forums.unrealengine.com/u/estudioae)\
**Post date:** [February 7, 2019, 10:56pm UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142/1 "2019-02-07T22:56:24Z")

</div>

How to create a material to control the hdr and how to use an hdr to illuminate in UE4 4.20 (GPU lightmass)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/2/e928238e8bcc0ac0d4366f6c11755a6ac110a766.jpeg "How to use HDRI in UE4 4.20") ](https://www.youtube.com/watch?v=yFtxB5u6u5I)

Regards

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a42237e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a42237e9](https://forums.unrealengine.com/u/anonymous_user_a42237e9)\
**Post date:** [February 8, 2019, 6:37am UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142/2 "2019-02-08T06:37:35Z")

</div>

It is a skysphere and a post-process volume.

---

<div class="post-metadata">

**Author:** ![fco3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fco3d](https://forums.unrealengine.com/u/fco3d)\
**Post date:** [February 12, 2019, 7:13pm UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142/3 "2019-02-12T19:13:59Z")

</div>

Thanks man, this explains a lot of what I was wondering how to do it  
Good job!

---

<div class="post-metadata">

**Author:** ![Wir3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wir3d](https://forums.unrealengine.com/u/Wir3d)\
**Post date:** [February 13, 2019, 5:10am UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142/4 "2019-02-13T05:10:57Z")

</div>

Simple and effective, I like it.  
Got some small problems using .exr instead of .hdri, but finally convert it in PS to .hdri and all was fine.

---

<div class="post-metadata">

**Author:** ![will\_94rdwr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@will\_94rdwr](https://forums.unrealengine.com/u/will_94rdwr)\
**Post date:** [August 21, 2019, 5:31am UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142/5 "2019-08-21T05:31:51Z")

</div>

> [@estudioae](#):
>
> How to create a material to control the hdr and how to use an hdr to illuminate in UE4 4.20 (GPU lightmass)
> 
> [https://youtube.com/watch?v=yFtxB5u6u5I](https://youtube.com/watch?v=yFtxB5u6u5I)
> 
> Regards

I am having some problems with HDRI. Following this tutorial and getting this king of error lighting:

file:///C:/Users/William/Desktop/Screenshot\_1.jpg

Material:

file:///C:/Users/William/Desktop/Screenshot\_2.jpg

---

<div class="post-metadata">

**Author:** ![True.Georg](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/true.georg/32/488974_2.png) [@True.Georg](https://forums.unrealengine.com/u/True.Georg)\
**Post date:** [January 17, 2020, 12:24pm UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142/6 "2020-01-17T12:24:42Z")

</div>

SM5 coercion failed material float3 local4 =(Local1/Local3​​​​​​)  
float3 -\> float2

---

<div class="post-metadata">

**Author:** ![Dariusz1989](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dariusz1989](https://forums.unrealengine.com/u/Dariusz1989)\
**Post date:** [May 29, 2020, 2:01pm UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142/7 "2020-05-29T14:01:09Z")

</div>

> [@True.Georg](#):
>
> SM5 coercion failed material float3 local4 =(Local1/Local3​​​​​​)  
> float3 -\> float2

Got same error, did you manage to solve it?

---

<div class="post-metadata">

**Author:** ![Rong\_Sol](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rong\_Sol](https://forums.unrealengine.com/u/Rong_Sol)\
**Post date:** [March 7, 2021, 8:33am UTC](https://forums.unrealengine.com/t/how-to-use-hdri-in-ue4-4-20/122142/8 "2021-03-07T08:33:32Z")

</div>

> [@True.Georg](#):
>
> SM5 coercion failed material float3 local4 =(Local1/Local3​​​​​​)  
> float3 -\> float2

Because the texture’s format is NOT a Texture Cube.  
Import .HDR file could solve this issue
