Shader closures. More...
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 AI_DEVICE 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 | AiClosureVolumeDoubleHenyeyGreenstein (const AtShaderGlobals *sg, const AtRGB &absorption, const AtRGB &scattering, const AtRGB &emission, float g=0.f, float g2=0.f, float w2=0.f) |
| This creates a linear mix of two Henyey-Greenstein phase function lobes, of the form: 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... | |
Shader closures.