# Can't load shaderMaterial into my scene

**URL:** <https://forum.babylonjs.com/t/cant-load-shadermaterial-into-my-scene/33979>\
**Category:** Questions\
**Tags:** material\
**Created:** [September 16, 2022, 8:51am UTC](https://forum.babylonjs.com/t/cant-load-shadermaterial-into-my-scene/33979 "2022-09-16T08:51:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![udark33](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/udark33/32/26944_2.png) [@udark33](https://forum.babylonjs.com/u/udark33)\
**Post date:** [September 16, 2022, 8:51am UTC](https://forum.babylonjs.com/t/cant-load-shadermaterial-into-my-scene/33979/1 "2022-09-16T08:51:47Z")

</div>

Hi guys, I have created this basic shader material: [Babylon.js Node Material Editor](https://nodematerial-editor.babylonjs.com/#H2NDUY)  
The problem I am having is that when I load it into my scene it, it seems like it’s not doing anything (the sphere remains black).

It is probably a very simple adjustment but I can’t understand why it is not working.  
Thanks!

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [September 16, 2022, 9:42am UTC](https://forum.babylonjs.com/t/cant-load-shadermaterial-into-my-scene/33979/2 "2022-09-16T09:42:46Z")

</div>

Hi! Do you want to show us how you load the nme to your scene? playground maybe?

---

<div class="post-metadata">

**Author:** ![udark33](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/udark33/32/26944_2.png) [@udark33](https://forum.babylonjs.com/u/udark33)\
**Post date:** [September 16, 2022, 9:56am UTC](https://forum.babylonjs.com/t/cant-load-shadermaterial-into-my-scene/33979/3 "2022-09-16T09:56:30Z")

</div>

hi, sorry I was going to attach it but I forgot! here it is: [https://playground.babylonjs.com/#NGS9AU#519](https://playground.babylonjs.com/#NGS9AU#519)

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [September 16, 2022, 10:06am UTC](https://forum.babylonjs.com/t/cant-load-shadermaterial-into-my-scene/33979/4 "2022-09-16T10:06:01Z")

</div>

You need to associate the material to the parsed snippet. You can’t just create a node material, because the playground doesn’t know that this NME exists.

Here is a simple example of how to achieve that:

[GUI Example | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#NGS9AU#520)

---

<div class="post-metadata">

**Author:** ![udark33](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/udark33/32/26944_2.png) [@udark33](https://forum.babylonjs.com/u/udark33)\
**Post date:** [September 16, 2022, 10:50am UTC](https://forum.babylonjs.com/t/cant-load-shadermaterial-into-my-scene/33979/5 "2022-09-16T10:50:56Z")

</div>

oh I see, thanks a lot!!
