diff options
author | Charlie Jolly <charlie> | 2021-12-14 00:20:07 +0300 |
---|---|---|
committer | Charlie Jolly <mistajolly@gmail.com> | 2021-12-14 21:27:01 +0300 |
commit | 5b61737a8f41688699fd1d711a25b7cea86d1530 (patch) | |
tree | fcea899c2663e666a6b2e9f15b31dfe2064c7a42 /intern/cycles/kernel/svm/types.h | |
parent | 44232a2ce6d8762f10366f6bb660a37ce3e1acbd (diff) |
Nodes: Add vector support to Map Range node
This replaces lost functionality from the old GN Attribute Map Range node.
This also adds vector support to the shader version of the node.
Notes:
This breaks forward compatibility as this node now uses data storage.
Reviewed By: HooglyBoogly, brecht
Differential Revision: https://developer.blender.org/D12760
Diffstat (limited to 'intern/cycles/kernel/svm/types.h')
-rw-r--r-- | intern/cycles/kernel/svm/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/svm/types.h b/intern/cycles/kernel/svm/types.h index 8c95c571815..384549b7f09 100644 --- a/intern/cycles/kernel/svm/types.h +++ b/intern/cycles/kernel/svm/types.h @@ -114,6 +114,7 @@ typedef enum ShaderNodeType { NODE_WAVELENGTH, NODE_BLACKBODY, NODE_MAP_RANGE, + NODE_VECTOR_MAP_RANGE, NODE_CLAMP, NODE_BEVEL, NODE_AMBIENT_OCCLUSION, |