# Support For Global Shaders In Plugins

**URL:** <https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub, Engine-Source-GitHub\
**Created:** [May 25, 2017, 1:23pm UTC](https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927 "2017-05-25T13:23:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![iniside](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/iniside/32/866315_2.png) [@iniside](https://forums.unrealengine.com/u/iniside)\
**Post date:** [May 25, 2017, 1:23pm UTC](https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927/1 "2017-05-25T13:23:46Z")

</div>

From Trello:  
https://trello.com/c/3ESmU6JE.html

Is it in master branch currently ? And even if it is not, would it be possible to give small 101 of steps needed to get shader working from plugin ?

---

<div class="post-metadata">

**Author:** ![duke22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duke22](https://forums.unrealengine.com/u/duke22)\
**Post date:** [May 26, 2017, 6:01am UTC](https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927/2 "2017-05-26T06:01:03Z")

</div>

I’d also like to know this.

---

<div class="post-metadata">

**Author:** ![Zeblote](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeblote](https://forums.unrealengine.com/u/Zeblote)\
**Post date:** [May 26, 2017, 8:39am UTC](https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927/3 "2017-05-26T08:39:54Z")

</div>

Doesn’t look like it’s in master yet. We’ll need to wait for the next merge of dev-rendering…

---

<div class="post-metadata">

**Author:** ![DamirH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damirh/32/906591_2.png) [@DamirH](https://forums.unrealengine.com/u/DamirH)\
**Post date:** [May 26, 2017, 9:27am UTC](https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927/4 "2017-05-26T09:27:56Z")

</div>

This will be the best addition to the engine in years. Finally writing stuff like geometry shaders doesn’t require engine modification.

---

<div class="post-metadata">

**Author:** ![iniside](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/iniside/32/866315_2.png) [@iniside](https://forums.unrealengine.com/u/iniside)\
**Post date:** [May 26, 2017, 12:36pm UTC](https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927/5 "2017-05-26T12:36:28Z")

</div>

Change 3388612 on 2017/04/11 by Simon.Tourangeau

```
Support shaders in projects and in plugins
When searching for a shader it will
- First look in Engine/Shaders as usual
- Then in project's Shader folder
- Then in all enabled plugin Shader folders

Project or plugin must be loaded in PostConfigInit phase
Tested in PIE, engine (cooked, packaged)

```

[https://github.com/EpicGames/UnrealEngine/commit/81ef7a206b58eb8204c9da4315aecd14cabde9c7](https://github.com/EpicGames/UnrealEngine/commit/81ef7a206b58eb8204c9da4315aecd14cabde9c7)

Well I guess it’s still impossible to extend rendering with plugins only (add postprocess for example).

---

<div class="post-metadata">

**Author:** ![DamirH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damirh/32/906591_2.png) [@DamirH](https://forums.unrealengine.com/u/DamirH)\
**Post date:** [May 29, 2017, 6:52am UTC](https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927/6 "2017-05-29T06:52:40Z")

</div>

> [@iniside;714541](#):
>
> ```
> - Then in project's Shader folder
> 
> ```

Yes please!

---

<div class="post-metadata">

**Author:** ![Seehr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Seehr](https://forums.unrealengine.com/u/Seehr)\
**Post date:** [June 25, 2017, 11:17am UTC](https://forums.unrealengine.com/t/support-for-global-shaders-in-plugins/92927/7 "2017-06-25T11:17:41Z")

</div>

Actually… this is very useful. One of the best implementations.
