Capítulo 81 de 859
This node material is an experimental extension of MeshPhysicalNodeMaterial that implements a Subsurface scattering (SSS) term.
Constructor
| Signature |
|---|
new MeshSSSNodeMaterial( parameters : Object ) |
Properties
| Property | Description |
|---|---|
.thicknessAmbientNode : Node.<float> | Represents the thickness ambient factor. |
.thicknessAttenuationNode : Node.<float> | Represents the thickness attenuation. |
.thicknessColorNode : Node.<vec3> | Represents the thickness color. |
.thicknessDistortionNode : Node.<float> | Represents the distortion factor. |
.thicknessPowerNode : Node.<float> | Represents the thickness power. |
.thicknessScaleNode : Node.<float> | Represents the thickness scale. |
.useSSS : boolean | Whether the lighting model should use SSS or not. |
Methods
| Method | Description |
|---|---|
.setupLightingModel() : SSSLightingModel | Setups the lighting model. |