Functions
ai_shader_closure.h File Reference

Shader closures. More...

#include "ai_closure.h"
#include "ai_color.h"
#include "ai_shaderglobals.h"

Go to the source code of this file.

Functions

AI_API AI_DEVICE AtClosure AiClosureEmpiricalBSSRDF (const AtShaderGlobals *sg, const AtRGB &weight, const AtVector &mfp, const AtRGB &albedo)
 Create BSSRDF closure for subsurface scattering in surface shaders. More...
 
AI_API AI_DEVICE AtClosure AiClosureRandomWalkBSSRDF (const AtShaderGlobals *sg, const AtRGB &weight, const AtVector &mfp, const AtRGB &albedo, float g=0.0f)
 Create BSSRDF closure for subsurface scattering in surface shaders. More...
 
AI_API AI_DEVICE AtClosure AiClosureRandomWalkV2BSSRDF (const AtShaderGlobals *sg, const AtRGB &weight, const AtVector &mfp, const AtRGB &albedo, float g=0.0f)
 Create BSSRDF closure for subsurface scattering in surface shaders. More...
 
AI_API AI_DEVICE void AiClosureBSSRDFSetDirectIndirect (AtClosure closure, float weight_direct, float weight_indirect)
 Set the BSSRDF closure direct and indirect light contribution weights. More...
 
AI_API AI_DEVICE AtClosure AiClosureEmission (const AtShaderGlobals *sg, const AtRGB &weight)
 Create emission closure for surface shaders. More...
 
AI_API AI_DEVICE AtClosure AiClosureTransparent (const AtShaderGlobals *sg, const AtRGB &weight=AI_RGB_WHITE, const AtClosureList interior=NULL, int32_t importance=0)
 Create transparent closure for surface shaders. More...
 
AI_API AtClosure AiClosureMatte (const AtShaderGlobals *sg, const AtRGB &weight=AI_RGB_WHITE)
 Create matte closure for surface shaders. More...
 
AI_API AtClosure AiClosureBackground (const AtShaderGlobals *sg, const AtRGB &weight=AI_RGB_WHITE)
 Create background closure for background surface shaders. More...
 
AI_API AI_DEVICE AtClosure AiClosureVolumeAbsorption (const AtShaderGlobals *sg, const AtRGB &weight)
 Create volume absorption closure, for volume shaders. More...
 
AI_API AI_DEVICE AtClosure AiClosureVolumeEmission (const AtShaderGlobals *sg, const AtRGB &weight)
 Create volume emission closure, for volume shaders. More...
 
AI_API AI_DEVICE AtClosure AiClosureVolumeHenyeyGreenstein (const AtShaderGlobals *sg, const AtRGB &absorption, const AtRGB &scattering, const AtRGB &emission, float g=0.f)
 Create Henyey-Greenstein volume scattering closure, for volume shaders. More...
 
AI_API AI_DEVICE AtClosure AiClosureVolumeMatte (const AtShaderGlobals *sg, const AtRGB &weight)
 Create volume matte closure, for volume shaders. More...
 
AI_API AI_DEVICE AtClosure AiClosureVolumeAtmosphere (const AtShaderGlobals *sg, const AtRGB &emission, const AtRGB &transparent, const AtRGB &matte)
 Create volume atmosphere closure, for legacy atmosphere shaders. More...
 

Detailed Description

Shader closures.


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