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:
Brecht Van Lommel 2020-04-16 23:16:23 +02:00
parent 493c623b13
commit c87dd76937
Notes: blender-bot 2023-06-21 19:23:24 +02:00
Referenced by issue #75774, Unexpected output from Musgrave Texture
1 changed files with 3 additions and 0 deletions

View File

@ -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)