# Coming Back with a test, prerendered ShadowMaps.

**URL:** <https://forums.unrealengine.com/t/coming-back-with-a-test-prerendered-shadowmaps/85291>\
**Category:** Architectural and Design Visualization\
**Tags:** unreal-engine\
**Created:** [February 14, 2017, 8:13pm UTC](https://forums.unrealengine.com/t/coming-back-with-a-test-prerendered-shadowmaps/85291 "2017-02-14T20:13:42Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![anonymous\_user\_ba8e0322](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ba8e0322](https://forums.unrealengine.com/u/anonymous_user_ba8e0322)\
**Post date:** [February 18, 2017, 12:37pm UTC](https://forums.unrealengine.com/t/coming-back-with-a-test-prerendered-shadowmaps/85291/22 "2017-02-18T12:37:33Z")

</div>

I know. I wanted to test it out for stuff like water and mirrors. Couldn’t find where to turn it on and realized it was moved contrary to what is written in the ue4 docs. So decided to leave a note incase someone else can’t find it. It might be a problem getting some subtle good irregularity roughness details for mirrors though.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4f8e037c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4f8e037c](https://forums.unrealengine.com/u/anonymous_user_4f8e037c)\
**Post date:** [March 9, 2017, 1:49pm UTC](https://forums.unrealengine.com/t/coming-back-with-a-test-prerendered-shadowmaps/85291/23 "2017-03-09T13:49:22Z")

</div>

Delayed…

Any ideas for a good way to implement a shadowmap like this into materials?

 ![170309.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/d/3d45687af8233162f00b70592b43d43d45aa080e.png)

I´m trying to create a workflow using one shadowmap for each asset.

What could be better: instances, functions…?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_21e38222](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_21e38222](https://forums.unrealengine.com/u/anonymous_user_21e38222)\
**Post date:** [March 9, 2017, 2:01pm UTC](https://forums.unrealengine.com/t/coming-back-with-a-test-prerendered-shadowmaps/85291/24 "2017-03-09T14:01:08Z")

</div>

By creating a Master material with a parameter AO texture for your shadowmaps ?  
You can then instanciate your Master material for each asset and change the shadowmap/AO input (can also be used for all texture inputs ofc).

---

<div class="post-metadata">

**Author:** ![CreativeVilla](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CreativeVilla](https://forums.unrealengine.com/u/CreativeVilla)\
**Post date:** [March 20, 2017, 8:59pm UTC](https://forums.unrealengine.com/t/coming-back-with-a-test-prerendered-shadowmaps/85291/25 "2017-03-20T20:59:11Z")

</div>

This works great with ambient occlusion, shadows, color, etc. Make sure when you bake you do not bake reflection channel… as these need to be dynamic inside of UE as the player moves around the object. I bake AO quite a bit in Vray and then apply the maps inside of UE. [Unreal Engine Architectural Visualization Interiors - YouTube](https://www.youtube.com/watch?v=JZRw4m51mbI) at 2:15 that scene is almost 100% baked in Vray and applied inside of UE with no lightmaps. (did this when I was first learning UE materials and lighting). Including ceiling and floor.

[Previous page](https://forums.unrealengine.com/t/coming-back-with-a-test-prerendered-shadowmaps/85291.md?page=1)
