# Is it possible to use vertex color as emission

**URL:** <https://forum.babylonjs.com/t/is-it-possible-to-use-vertex-color-as-emission/31794>\
**Category:** Questions\
**Created:** [June 30, 2022, 2:44am UTC](https://forum.babylonjs.com/t/is-it-possible-to-use-vertex-color-as-emission/31794 "2022-06-30T02:44:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kestrelpi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kestrelpi/32/17629_2.png) [@kestrelpi](https://forum.babylonjs.com/u/kestrelpi)\
**Post date:** [June 30, 2022, 2:44am UTC](https://forum.babylonjs.com/t/is-it-possible-to-use-vertex-color-as-emission/31794/1 "2022-06-30T02:44:34Z")

</div>

Hey everyone,

I want to use vertex color as emission but I’m not sure how to create the PBR material.

In Blender I have the following which is working well.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/3/8/38b028dd7d2acbf67fdef82541c1a19dcd2eb291.jpeg)

There is no emission input for the PBR node in the node material editor

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/d/0/d05f3cf33a9982068f575ca611dcf62629e42de5.png)

When I try to follow this tutorial -

[![](https://img.youtube.com/vi/CRg8P1Af1M0/maxresdefault.jpg "PBR Nodes in Node Materials Part 1") ](https://www.youtube.com/watch?v=CRg8P1Af1M0)

Dragging the world normal doesn’t do anything too?

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/7/5/756dff9b58c90ba581b55a4a86db4df7934d4710.png)

Any help would be much appreciated.

Cheers

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [June 30, 2022, 8:51am UTC](https://forum.babylonjs.com/t/is-it-possible-to-use-vertex-color-as-emission/31794/2 "2022-06-30T08:51:39Z")

</div>

I think you can have emission with or without PBR. I would just add the lighting value (out of PBR or any other node) with the vertex color. Basically, color emission is added value. As long as it’s added to the pixel color, it should be fine.

---

<div class="post-metadata">

**Author:** ![kestrelpi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kestrelpi/32/17629_2.png) [@kestrelpi](https://forum.babylonjs.com/u/kestrelpi)\
**Post date:** [July 1, 2022, 6:00am UTC](https://forum.babylonjs.com/t/is-it-possible-to-use-vertex-color-as-emission/31794/3 "2022-07-01T06:00:14Z")

</div>

Thanks Cedric, that that worked perfectly for me.

Any ideas how I could get it to work with the glow layer?

I have full PBR meshes and I want to be able to highlight the vertex colors on the mesh and make the vertex colors glow.

I ended up using the custom pbr material instead of nme as I couldn’t get it working

> **[Babylon.js Playground](https://www.babylonjs-playground.com/#LIVRIY%2363)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [July 1, 2022, 7:20am UTC](https://forum.babylonjs.com/t/is-it-possible-to-use-vertex-color-as-emission/31794/4 "2022-07-01T07:20:39Z")

</div>

You will have to add the mesh to the glow layer and that should be enough:

> **[Making Meshes Glow | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/mesh/glowLayer)**
>
> Learn all about the glow layer in Babylon.js.
