Can we have node similar to Color Ramp in blender?

Please, 99% of every blender material tutorial uses this node extensively

3 Likes

Isn’t this like a ‘sample gradient’ node?

https://docs.unity3d.com/Packages/com.unity.shadergraph@8.1/manual/Sample-Gradient-Node.html?q=sample%20gra

Never used the color ramp node in Blender so not sure

3 Likes

Not quite. This is manual on what it does
https://docs.blender.org/manual/en/latest/render/shader_nodes/converter/color_ramp.html

This is explanation video

https://www.youtube.com/watch?v=v_bm5igrua0

But this could be done with a gradient node no?

You make a gradient node, set it to that red/blue/yellow/pink hard cutoff gradient, put it in the gradient slot of the ‘sample gradient node’ and then whatever you want (UV like in that image) into the ‘time’ slot.

2 Likes

Mm… Its does something similar but end result is noticeably different, see abdomen area, i think unity node implementation is different from what blender does.

Here Unity

here is blender

4 Likes

The reason it looks different in unity might be because it uses the red channel of the texture whereas in blender it probably uses the average color or luminance. If you want to correctly sample the gradient you should use a saturation node between the sample texture 2D and the sample gradient node.

6 Likes