diff options
author | Jacques Lucke <jacques@blender.org> | 2021-01-21 18:47:03 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-01-21 18:49:06 +0300 |
commit | 425e706921a8f986921b8b9c429874fed98e9a10 (patch) | |
tree | 88275db9e9ec65cd84c210a03799b285f1a0671f /source/blender/blenkernel/intern | |
parent | a92ebab5da3bcbe3ee1b87348e51f6bcb347b881 (diff) |
Geometry Nodes: new Attribute Sample Texture node
This node allows sampling a texture for every vertex based on some
mapping attribute. Typical attribute names are the name of a uv map
(e.g. "UVMap") and "position". However, every attribute that can be
converted to a vector implicitly is supported.
It should be noted that as of right now, uv map attributes can only be
accessed after a Point Distribute node.
Ref T82584.
Differential Revision: https://developer.blender.org/D10121
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/node.c b/source/blender/blenkernel/intern/node.c index 52de4b108b9..04ce43da502 100644 --- a/source/blender/blenkernel/intern/node.c +++ b/source/blender/blenkernel/intern/node.c @@ -4747,6 +4747,7 @@ static void registerGeometryNodes(void) register_node_type_geo_attribute_color_ramp(); register_node_type_geo_point_rotate(); register_node_type_geo_align_rotation_to_vector(); + register_node_type_geo_sample_texture(); } static void registerFunctionNodes(void) |