Constructor
new SSSLightingModel( clearcoat : boolean, sheen : boolean, iridescence : boolean, anisotropy : boolean, transmission : boolean, dispersion : boolean, sss : boolean )
Constructs a new physical lighting model.
| clearcoat |
Whether clearcoat is supported or not. Default is |
| sheen |
Whether sheen is supported or not. Default is |
| iridescence |
Whether iridescence is supported or not. Default is |
| anisotropy |
Whether anisotropy is supported or not. Default is |
| transmission |
Whether transmission is supported or not. Default is |
| dispersion |
Whether dispersion is supported or not. Default is |
| sss |
Whether SSS is supported or not. Default is |
Properties
.useSSS : boolean
Whether the lighting model should use SSS or not.
Default is false.
Methods
.direct( input : Object, builder : NodeBuilder )
Extends the default implementation with a SSS term.
Reference: Approximating Translucency for a Fast, Cheap and Convincing Subsurface Scattering Look
| input |
The input data. |
| builder |
The current node builder. |
- Overrides: PhysicalLightingModel#direct