# Terrain shaders keep recompileing

**URL:** <https://forums.unrealengine.com/t/terrain-shaders-keep-recompileing/324244>\
**Category:** Rendering\
**Tags:** Terrain, recompile, unreal-engine, Landscape, bug-report, shader, question\
**Created:** [July 6, 2015, 12:54pm UTC](https://forums.unrealengine.com/t/terrain-shaders-keep-recompileing/324244 "2015-07-06T12:54:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [July 6, 2015, 12:54pm UTC](https://forums.unrealengine.com/t/terrain-shaders-keep-recompileing/324244/1 "2015-07-06T12:54:58Z")

</div>

Everytime I paint a layer on a component on which it was not painted before it recompiles the shader and the terrain component turns to checker grey for that time. I would be ok with it if it would be a matter of seconds but instead it takes minutes and that every time!

I have a hard time to understand why that recompileing is required and how that is feasible to work with? Or is it a bug?

Also, that shader recompiling number is in the thousands while for other shaders it is mostly 2 diggits, why?

Edit: Just found out it also recompiles when I erase a layer from a component chunk and it even deleted layer info references! Seriously, how is this terrain painting feasible?
