|
Blender V4.3
|
#include "device/device.h"#include "scene/background.h"#include "scene/camera.h"#include "scene/colorspace.h"#include "scene/integrator.h"#include "scene/light.h"#include "scene/mesh.h"#include "scene/object.h"#include "scene/osl.h"#include "scene/procedural.h"#include "scene/scene.h"#include "scene/shader.h"#include "scene/shader_graph.h"#include "scene/shader_nodes.h"#include "scene/svm.h"#include "scene/tables.h"#include "util/foreach.h"#include "util/murmurhash.h"#include "util/task.h"#include "util/transform.h"#include "scene/shader.tables"Go to the source code of this file.
Functions | |
| NODE_DEFINE (Shader) | |
| static float3 | output_estimate_emission (ShaderOutput *output, bool &is_constant) |
| NODE_DEFINE | ( | Shader | ) |
Definition at line 41 of file scene/shader.cpp.
References NodeType::add(), DISPLACE_BOTH, DISPLACE_BUMP, DISPLACE_TRUE, EMISSION_SAMPLING_AUTO, EMISSION_SAMPLING_BACK, EMISSION_SAMPLING_FRONT, EMISSION_SAMPLING_FRONT_BACK, EMISSION_SAMPLING_NONE, NodeEnum::insert(), SOCKET_BOOLEAN, SOCKET_ENUM, SOCKET_FLOAT, SOCKET_INT, VOLUME_INTERPOLATION_CUBIC, VOLUME_INTERPOLATION_LINEAR, VOLUME_SAMPLING_DISTANCE, VOLUME_SAMPLING_EQUIANGULAR, and VOLUME_SAMPLING_MULTIPLE_IMPORTANCE.
|
static |
Definition at line 128 of file scene/shader.cpp.
References SocketType::CLOSURE, EmissionNode::from_auto_conversion, ShaderInput::link, make_float3(), node, one_float3(), output, output_estimate_emission(), ShaderInput::socket_type, and zero_float3().
Referenced by Shader::estimate_emission(), and output_estimate_emission().