# Help Please:) Why are there 13/16 texture samplers on empty material?

**URL:** <https://forums.unrealengine.com/t/help-please-why-are-there-13-16-texture-samplers-on-empty-material/133178>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [November 8, 2019, 2:41pm UTC](https://forums.unrealengine.com/t/help-please-why-are-there-13-16-texture-samplers-on-empty-material/133178 "2019-11-08T14:41:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cookiecc51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cookiecc51](https://forums.unrealengine.com/u/cookiecc51)\
**Post date:** [November 8, 2019, 2:41pm UTC](https://forums.unrealengine.com/t/help-please-why-are-there-13-16-texture-samplers-on-empty-material/133178/1 "2019-11-08T14:41:49Z")

</div>

Hi,  
Hoping someone can enlighten me about why a empty new material shows 13/16 texture samplers? Some of the materials Ive been building go way over 16, even when I set the texture source to shared warp.  
Any reply with some feedback would be great.

---

<div class="post-metadata">

**Author:** ![cookiecc51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cookiecc51](https://forums.unrealengine.com/u/cookiecc51)\
**Post date:** [November 8, 2019, 4:38pm UTC](https://forums.unrealengine.com/t/help-please-why-are-there-13-16-texture-samplers-on-empty-material/133178/2 "2019-11-08T16:38:40Z")

</div>

I just turned off “allow static lighting” and that brought the texture samplers down. As a novice beginner Im really not sure what effect this has on rendering?  
I guess i need to set all lights to stationary or movable?  
We’re using unreal for "previs/post vis work.  
Any tips would be helpful:)  
Cheers

---

<div class="post-metadata">

**Author:** ![rosegoldslugs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rosegoldslugs](https://forums.unrealengine.com/u/rosegoldslugs)\
**Post date:** [November 8, 2019, 6:41pm UTC](https://forums.unrealengine.com/t/help-please-why-are-there-13-16-texture-samplers-on-empty-material/133178/3 "2019-11-08T18:41:47Z")

</div>

“Allow Static Lighting” includes shader permutations and gives materials the ability to sample the precomputed 2D and volumetric lightmaps, which is where a good chunk of texture samplers go even in empty materials. It’s a good idea to uncheck this if you’re using 100% dynamic lighting, since it does reduce overhead and gives you back a few options in a dynamic lighting scenario. But if you’re doing arch viz and want the highest quality for the performance, static lighting is what you want.

---

<div class="post-metadata">

**Author:** ![gozu](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gozu/32/869945_2.png) [@gozu](https://forums.unrealengine.com/u/gozu)\
**Post date:** [November 11, 2019, 2:12am UTC](https://forums.unrealengine.com/t/help-please-why-are-there-13-16-texture-samplers-on-empty-material/133178/4 "2019-11-11T02:12:10Z")

</div>

> [@rosegoldslugs](#):
>
> “Allow Static Lighting” includes shader permutations and gives materials the ability to sample the precomputed 2D and volumetric lightmaps, which is where a good chunk of texture samplers go even in empty materials. It’s a good idea to uncheck this if you’re using 100% dynamic lighting, since it does reduce overhead and gives you back a few options in a dynamic lighting scenario. But if you’re doing arch viz and want the highest quality for the performance, static lighting is what you want.

I’ve just done some testing, and if you actually have static lighting turned off in the project settings, this flag makes no difference to the material.

Thanks for the tips! 🙂

---

<div class="post-metadata">

**Author:** ![cookiecc51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cookiecc51](https://forums.unrealengine.com/u/cookiecc51)\
**Post date:** [November 12, 2019, 3:12pm UTC](https://forums.unrealengine.com/t/help-please-why-are-there-13-16-texture-samplers-on-empty-material/133178/5 "2019-11-12T15:12:40Z")

</div>

> [@rosegoldslugs](#):
>
> “Allow Static Lighting” includes shader permutations and gives materials the ability to sample the precomputed 2D and volumetric lightmaps, which is where a good chunk of texture samplers go even in empty materials. It’s a good idea to uncheck this if you’re using 100% dynamic lighting, since it does reduce overhead and gives you back a few options in a dynamic lighting scenario. But if you’re doing arch viz and want the highest quality for the performance, static lighting is what you want.

Thanks heaps. Super helpful.
