ai_shader_radiance.h
Go to the documentation of this file.
1// Copyright 2021 Autodesk, Inc. All rights reserved.
2//
3// Use of this software is subject to the terms of the Autodesk license
4// agreement provided at the time of installation or download, or which
5// otherwise accompanies this software in either electronic or hard copy form.
6
12#pragma once
13#include "ai_shaderglobals.h"
14
22AI_API AtRGB AiIrradiance(const AtVector& p, const AtVector& n, int tid, uint32_t pid);
23AI_API AtRGB AiRadiance(const AtVector& p, const AtVector& dir, const AtVector& n, AtNode* obj, uint32_t face, float u, float v, AtNode* shader, int tid, uint32_t pid);
24
25/*\}*/
Shader globals struct, methods and macros.
AI_API AtRGB AiIrradiance(const AtVector &p, const AtVector &n, int tid, uint32_t pid)
Irradiance lookup at a (point,normal) pair.
Definition: ai_rtrace.cpp:1056
AI_API AtRGB AiRadiance(const AtVector &p, const AtVector &dir, const AtVector &n, AtNode *obj, uint32_t face, float u, float v, AtNode *shader, int tid, uint32_t pid)
Radiance lookup at a point.
Definition: ai_rtrace.cpp:1124
This represents a node in Arnold.
RGB color.
Definition: ai_color.h:32
3D point (single precision)
Definition: ai_vector.h:30

© 2022 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com