Radeon ProRender

rpr_material_node_lookup_value

Usage

Material nodes for looking up values.

Possible Values

Name Value Brief Explanation
RPR_MATERIAL_NODE_LOOKUP_UV 0x0 UV lookup.
RPR_MATERIAL_NODE_LOOKUP_N 0x1 Normal value.
RPR_MATERIAL_NODE_LOOKUP_P 0x2 XYZ (world space) of shading point.
RPR_MATERIAL_NODE_LOOKUP_INVEC 0x3 Incoming ray direction.
RPR_MATERIAL_NODE_LOOKUP_OUTVEC 0x4 Outgoing ray direction.
RPR_MATERIAL_NODE_LOOKUP_UV1 0x5 Second UV if set.
RPR_MATERIAL_NODE_LOOKUP_P_LOCAL 0x6 XYZ (object space) of shading point.
RPR_MATERIAL_NODE_LOOKUP_VERTEX_VALUE0 0x7 0 float value assigned to vertex.
RPR_MATERIAL_NODE_LOOKUP_VERTEX_VALUE1 0x8 1 float value assigned to vertex.
RPR_MATERIAL_NODE_LOOKUP_VERTEX_VALUE2 0x9 2 float value assigned to vertex.
RPR_MATERIAL_NODE_LOOKUP_VERTEX_VALUE3 0xa 3 float value assigned to vertex.
RPR_MATERIAL_NODE_LOOKUP_SHAPE_RANDOM_COLOR 0xb Random color assigned per shape.
RPR_MATERIAL_NODE_LOOKUP_OBJECT_ID 0xc Object ID value.
RPR_MATERIAL_NODE_LOOKUP_PRIMITIVE_RANDOM_COLOR 0xd Random color assigned per mesh.