Contains all parameters needed for the prepass to perform screen space subsurface scattering
Is subsurface enabled
Defines the ratio real world => scene units. Used for subsurface scattering
Name of the configuration
Post process to attach for screen space subsurface scattering
Diffusion profile colors for subsurface scattering
You can add one diffusion color using
Note that you can only store up to 5 of them
Textures that should be present in the MRT for this effect to work
Diffusion profile max color channel value for subsurface scattering
Diffusion profile color for subsurface scattering
Diffusion profile filter radius for subsurface scattering
Adds a new diffusion profile. Useful for more realistic subsurface scattering on diverse materials.
The color of the diffusion profile. Should be the average color of the material.
The index of the diffusion profile for the material subsurface configuration
Deletes all diffusion profiles. Note that in order to render subsurface scattering, you should have at least 1 diffusion profile.
Creates the sss post process
The created post process
Disposes this object
Generated using TypeDoc