Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Jolly <charlie>2021-10-14 16:31:34 +0300
committerCharlie Jolly <mistajolly@gmail.com>2021-10-14 16:56:48 +0300
commit2341ca990c17df7a77d4527a707f7b9e3d5f0f1a (patch)
treea4d713830ad16e556dbd2c94848531c4435f7f44 /source/blender/modifiers
parent55cf9bb5e653ef824cf32aae899437525d1f16e0 (diff)
Geometry Nodes: Add White Noise texture
Port White Noise shader to geometry nodes. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D12719
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_nodes_evaluator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes_evaluator.cc b/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
index a85fc29430f..d600e708167 100644
--- a/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
+++ b/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
@@ -332,6 +332,7 @@ static void get_socket_value(const SocketRef &socket, void *r_value)
if (ELEM(bnode.type,
GEO_NODE_SET_POSITION,
SH_NODE_TEX_NOISE,
+ SH_NODE_TEX_WHITE_NOISE,
GEO_NODE_MESH_TO_POINTS,
GEO_NODE_PROXIMITY)) {
new (r_value) Field<float3>(bke::AttributeFieldInput::Create<float3>("position"));