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

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)