Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/scene/shader_nodes.h
| Show First 20 Lines • Show All 168 Lines • ▼ Show 20 Lines | public: | ||||
| NODE_SOCKET_API(float3, vector) | NODE_SOCKET_API(float3, vector) | ||||
| ImageHandle handle; | ImageHandle handle; | ||||
| float get_sun_size() | float get_sun_size() | ||||
| { | { | ||||
| /* Clamping for numerical precision. */ | /* Clamping for numerical precision. */ | ||||
| return fmaxf(sun_size, 0.0005f); | return fmaxf(sun_size, 0.0005f); | ||||
| } | } | ||||
| float get_sun_average_radiance(); | |||||
| }; | }; | ||||
| class OutputNode : public ShaderNode { | class OutputNode : public ShaderNode { | ||||
| public: | public: | ||||
| SHADER_NODE_CLASS(OutputNode) | SHADER_NODE_CLASS(OutputNode) | ||||
| NODE_SOCKET_API(Node *, surface) | NODE_SOCKET_API(Node *, surface) | ||||
| NODE_SOCKET_API(Node *, volume) | NODE_SOCKET_API(Node *, volume) | ||||
| ▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines | |||||