Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/scene/shader_nodes.cpp
| Show First 20 Lines • Show All 5,895 Lines • ▼ Show 20 Lines | NODE_DEFINE(VectorMapRangeNode) | ||||
| return type; | return type; | ||||
| } | } | ||||
| VectorMapRangeNode::VectorMapRangeNode() : ShaderNode(get_node_type()) | VectorMapRangeNode::VectorMapRangeNode() : ShaderNode(get_node_type()) | ||||
| { | { | ||||
| } | } | ||||
| void VectorMapRangeNode::expand(ShaderGraph *graph) | void VectorMapRangeNode::expand(ShaderGraph * /*graph*/) | ||||
| { | { | ||||
| } | } | ||||
| void VectorMapRangeNode::compile(SVMCompiler &compiler) | void VectorMapRangeNode::compile(SVMCompiler &compiler) | ||||
| { | { | ||||
| ShaderInput *vector_in = input("Vector"); | ShaderInput *vector_in = input("Vector"); | ||||
| ShaderInput *from_min_in = input("From_Min_FLOAT3"); | ShaderInput *from_min_in = input("From_Min_FLOAT3"); | ||||
| ShaderInput *from_max_in = input("From_Max_FLOAT3"); | ShaderInput *from_max_in = input("From_Max_FLOAT3"); | ||||
| ▲ Show 20 Lines • Show All 1,340 Lines • Show Last 20 Lines | |||||