How to get Carbide Shader to react to heightmaps?

Carbide shader builder is cool.

But I can’t get it to change an object’s colors based on its heightmap.

I can get it to change height based on heightmaps, but not color.

Sample project shows a Carbide project with two shaders: one made with shader builder, one not.

The one that is not made with shader builder successfully changes the sphere’s
height and color based on the height map.

The one made with builder does not, and neither I nor ChatGPT can figure out how to get it working.

How do I make shader builder code change color in response to its height map?

ShaderBuilderStumper.zip (135.9 KB)

For anyone interested, @sim gave me the solution on the Discord.


ShaderBuilderStumper.zip (135.9 KB)

…pro tip there, I guess, for newcomers: if a question seems to have gone unanswered here, it may be answered on the Discord, and vice versa.