ai_shader_sss.h File Reference

SSS functions for shaders. More...

#include "ai_color.h"

Go to the source code of this file.


AI_API void AiBSSRDFEmpirical (const AtShaderGlobals *sg, AtRGB &direct, AtRGB &indirect, const float *mfp, const float *albedo, const AtRGB *weight, unsigned int num=1)
 Calculate direct and indirectly lit SSS using an BSSRDF model that was empirically fitted to match brute-force Monte Carlo scattering. More...
AI_API AI_PURE bool AiShaderGlobalsFromSSS (const AtShaderGlobals *sg)

Detailed Description

SSS functions for shaders.

© 2020 Autodesk, Inc. · All rights reserved ·