# Unlit material with lightmap support - is it possible in ue4? (BakedLit in Unity's URP)

**URL:** <https://forums.unrealengine.com/t/unlit-material-with-lightmap-support-is-it-possible-in-ue4-bakedlit-in-unitys-urp/465530>\
**Category:** Rendering\
**Tags:** unlit, unreal-engine, Lightmap, question\
**Created:** [May 20, 2020, 4:44pm UTC](https://forums.unrealengine.com/t/unlit-material-with-lightmap-support-is-it-possible-in-ue4-bakedlit-in-unitys-urp/465530 "2020-05-20T16:44:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamsfk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shamsfk](https://forums.unrealengine.com/u/shamsfk)\
**Post date:** [May 20, 2020, 4:44pm UTC](https://forums.unrealengine.com/t/unlit-material-with-lightmap-support-is-it-possible-in-ue4-bakedlit-in-unitys-urp/465530/1 "2020-05-20T16:44:35Z")

</div>

Hi! I’m starting the development of a VR game in ue4 but it looks like I will miss that awesome shader from Unity:  
[https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.1/manual/baked-lit-shader.html](https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.1/manual/baked-lit-shader.html)

Basically it is an unlit material for static objects that captures and renders only a lightmap with everything realtime stripped. It can have a quite significant impact on performance on mobile VR platforms.

Is there a way to make a similarly performant material?

---

<div class="post-metadata">

**Author:** ![adrienTriangles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adrienTriangles](https://forums.unrealengine.com/u/adrienTriangles)\
**Post date:** [June 29, 2021, 1:01am UTC](https://forums.unrealengine.com/t/unlit-material-with-lightmap-support-is-it-possible-in-ue4-bakedlit-in-unitys-urp/465530/2 "2021-06-29T01:01:44Z")

</div>

Any informations about this ?

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [June 29, 2021, 7:45pm UTC](https://forums.unrealengine.com/t/unlit-material-with-lightmap-support-is-it-possible-in-ue4-bakedlit-in-unitys-urp/465530/3 "2021-06-29T19:45:44Z")

</div>

You can modify the shaders to achieve that, so yeah, quite possible.

---

<div class="post-metadata">

**Author:** ![OzMomotaro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OzMomotaro](https://forums.unrealengine.com/u/OzMomotaro)\
**Post date:** [August 27, 2021, 10:18pm UTC](https://forums.unrealengine.com/t/unlit-material-with-lightmap-support-is-it-possible-in-ue4-bakedlit-in-unitys-urp/465530/4 "2021-08-27T22:18:00Z")

</div>

Sorry - that wasn’t at all helpful to the OP. It’s always good to reply by saying/showing how to do it… or at least explaining the broad approach.

---

<div class="post-metadata">

**Author:** ![fuzzy3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fuzzy3d/32/779941_2.png) [@fuzzy3d](https://forums.unrealengine.com/u/fuzzy3d)\
**Post date:** [March 22, 2024, 7:27am UTC](https://forums.unrealengine.com/t/unlit-material-with-lightmap-support-is-it-possible-in-ue4-bakedlit-in-unitys-urp/465530/5 "2024-03-22T07:27:53Z")

</div>

Hello, I came to Unity and the lack of bakedUnlit shader is absolutely limiting for VR. Does anyone have a link to the documentation for refactoring the Unlit shader to give it lightmap support? Thank you.
