Class SubsurfaceScatteringKernelGenerator
This class generates transmittance profiles and screen space scattering kernels for Separable Subsurface Scattering.
public class SubsurfaceScatteringKernelGenerator
- Inheritance
-
SubsurfaceScatteringKernelGenerator
Methods
CalculateScatteringKernel(int, Color3, Color3)
public static Vector4[] CalculateScatteringKernel(int sampleCount, Color3 strength, Color3 falloff)
Parameters
Returns
- Vector4[]
CalculateTransmittanceProfile(Vector3)
public static Vector4[] CalculateTransmittanceProfile(Vector3 falloff)
Parameters
falloff
Vector3
Returns
- Vector4[]