# Wave Shader Compilation error

**URL:** <https://forum.babylonjs.com/t/wave-shader-compilation-error/20062>\
**Category:** Bugs\
**Tags:** material, shader\
**Created:** [April 16, 2021, 1:11pm UTC](https://forum.babylonjs.com/t/wave-shader-compilation-error/20062 "2021-04-16T13:11:37Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [April 17, 2021, 9:03am UTC](https://forum.babylonjs.com/t/wave-shader-compilation-error/20062/13 "2021-04-17T09:03:34Z")

</div>

The generated code is not meant to be used in a `ShaderMaterial`.

See this thread for eg: [#include directives in shader code output from Node Material Editor - #2 by Evgeni\_Popov](https://forum.babylonjs.com/t/include-directives-in-shader-code-output-from-node-material-editor/10730/2)

---

_[View the full topic](https://forum.babylonjs.com/t/wave-shader-compilation-error/20062)._
