# Is there any way to find output value of a material node in ue4 material graph?

**URL:** <https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938>\
**Category:** Asset Creation\
**Tags:** unreal-engine, question\
**Created:** [November 3, 2020, 3:24pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938 "2020-11-03T15:24:16Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subash4447](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subash4447](https://forums.unrealengine.com/u/Subash4447)\
**Post date:** [November 3, 2020, 3:24pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/1 "2020-11-03T15:24:16Z")

</div>

Hello, I am new to unreal engine and I am learning material nodes in ue4. Now I had a doubt that is there any way to find the output value of a material node in ue4. Anyone answer please as soon as possible. It will be very useful for my learning. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 3, 2020, 3:39pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/2 "2020-11-03T15:39:21Z")

</div>

Can you be more specific, what kind of node and from where?

If you mean know the value of a material node from blueprint, then yes. Once you make it a material instance you can read / write the values from blueprint.

---

<div class="post-metadata">

**Author:** ![Subash4447](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subash4447](https://forums.unrealengine.com/u/Subash4447)\
**Post date:** [November 3, 2020, 3:53pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/3 "2020-11-03T15:53:05Z")

</div>

Yeah, for example if we use a constant node we can predict the return value of the const depending on the value we may provide or not and fore constant3vector we can find the return value but how can we find the return value(which is output node) of the VertexNormalws node and texture coordinate nodes how can we find them? Hope you understand tha question. Thanks for your reply waiting for this reply.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 3, 2020, 7:18pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/4 "2020-11-03T19:18:50Z")

</div>

Yes, parameterized material instance:

 ![321015-screenshot-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/a/08a15eb42b81a970a4765cf5b12423e45976b176.jpeg)

See the color is a param. Then make a material instance and control it from BP:

 ![321016-screenshot-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/e/94e7d8df1ebcf4d55ac9df740ade3345cc939647.jpeg)

---

<div class="post-metadata">

**Author:** ![Subash4447](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subash4447](https://forums.unrealengine.com/u/Subash4447)\
**Post date:** [November 4, 2020, 1:40am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/5 "2020-11-04T01:40:39Z")

</div>

Sorry ☹ I don’t know much about blueprint so is there any other way it is possible. I have seen many video for finding mesh top of a mesh to make the place snowy but they just use VertexNormalws and use Blue channel to detect top. But I am eager to know what value does the blue channel contain integer or float or what value it is limited to like -1 to 1. From the output they have used power node. For this reason I need to understand the outputs of these nodes if I found the output value I can imagine how we can make the top little snowy or mossy. Please reply? **strong text**

---

<div class="post-metadata">

**Author:** ![Marcis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcis/32/1103070_2.png) [@Marcis](https://forums.unrealengine.com/u/Marcis)\
**Post date:** [November 4, 2020, 3:33am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/6 "2020-11-04T03:33:12Z")

</div>

Not sure if this is what you were looking for but you can see the values with debug nodes.

 ![321046-debug.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/d/9fdb7bfa793c11879aca567e250d2afa89900eab.png)

---

<div class="post-metadata">

**Author:** ![Subash4447](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Subash4447](https://forums.unrealengine.com/u/Subash4447)\
**Post date:** [November 4, 2020, 3:45am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/7 "2020-11-04T03:45:21Z")

</div>

Thanks for your answer. I will try it today and post in forum. Again thanks for your support MMMarcis and ClockworkOcean I have learnt new things in this forum.

---

<div class="post-metadata">

**Author:** ![MrGoatsy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mrgoatsy/32/918697_2.png) [@MrGoatsy](https://forums.unrealengine.com/u/MrGoatsy)\
**Post date:** [May 18, 2024, 12:14pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/8 "2024-05-18T12:14:08Z")

</div>

How to get that value to a BP?

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [May 19, 2024, 9:53pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/9 "2024-05-19T21:53:08Z")

</div>

You don’t.

Materials Read values.  
They have no output of any kind.

Materials happen on your GPU. Calculations you want on the CPU.

---

<div class="post-metadata">

**Author:** ![Marcis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marcis/32/1103070_2.png) [@Marcis](https://forums.unrealengine.com/u/Marcis)\
**Post date:** [September 24, 2024, 10:09am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/10 "2024-09-24T10:09:51Z")

</div>

Draw your material to a render target and then read pixels.

---

<div class="post-metadata">

**Author:** ![MrGoatsy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mrgoatsy/32/918697_2.png) [@MrGoatsy](https://forums.unrealengine.com/u/MrGoatsy)\
**Post date:** [September 24, 2024, 10:36pm UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/11 "2024-09-24T22:36:28Z")

</div>

I am trying to avoid using `renderpixels()` due to the enormous performance impact.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [November 18, 2024, 7:15am UTC](https://forums.unrealengine.com/t/is-there-any-way-to-find-output-value-of-a-material-node-in-ue4-material-graph/473938/12 "2024-11-18T07:15:35Z")

</div>

Like I said, you don’t.

Provide the values to the shader in such a way that you have them accessible elsewhere.

READING values is already expensive enough. WRITING values is even more expensive since you go from GPU \> CPU \> HDD.

Writing, then reading, then using, probably puts your cost at 3 times what you can afford per frame. Same reason why you want to keep RTs to a minimum on projects, even if they do allow for way cool effects that you cannot do without…
