Fix T75774: rename Musgrave texture output from Fac to Height
To make it clear that's not in the 0..1, but more of a terrain height value without a strict range.
This commit is contained in:
parent
493c623b13
commit
c87dd76937
Notes:
blender-bot
2023-06-21 19:23:24 +02:00
Referenced by issue #75774, Unexpected output from Musgrave Texture
|
@ -137,6 +137,9 @@ static void node_shader_update_tex_musgrave(bNodeTree *UNUSED(ntree), bNode *nod
|
|||
nodeSetSocketAvailability(inGainSock,
|
||||
tex->musgrave_type == SHD_MUSGRAVE_HYBRID_MULTIFRACTAL ||
|
||||
tex->musgrave_type == SHD_MUSGRAVE_RIDGED_MULTIFRACTAL);
|
||||
|
||||
bNodeSocket *outFacSock = nodeFindSocket(node, SOCK_OUT, "Fac");
|
||||
node_sock_label(outFacSock, "Height");
|
||||
}
|
||||
|
||||
void register_node_type_sh_tex_musgrave(void)
|
||||
|
|
Loading…
Reference in New Issue