MaterialSubsurfaceScatteringScatteringKernelSkin Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Calculates the scattering profile for skin, which is applied during the forward pass using the subsurface scattering shading model. It also calculates a scattering kernel based on the "Falloff" and "Strength" parameters.
[Display("Skin", null)]
[DataContract("MaterialSubsurfaceScatteringScatteringKernelSkin")]
public class MaterialSubsurfaceScatteringScatteringKernelSkin : IMaterialSubsurfaceScatteringScatteringKernel
| Name | Description | |
|---|---|---|
| Properties | ||
| Falloff | This parameter defines the per-channel falloff of the gradients produced by the subsurface scattering events. It can be used to fine tune the color of the gradients. |
|
| Strength | This parameter specifies the how much of the diffuse light gets into the material, and thus gets modified by the SSS mechanism. It can be seen as a per-channel mix factor between the original image, and the SSS-filtered image. |
|
| Methods | ||
| Equals(Object) | ||
| Generate() | ||
| GetHashCode() | ||
Properties
Falloff
This parameter defines the per-channel falloff of the gradients produced by the subsurface scattering events. It can be used to fine tune the color of the gradients.
[DataMember(10)]
[Display("Falloff", null)]
public Color3 Falloff { get; set; }
Property Value
| Type | Description |
|---|---|
| Color3 |
Strength
This parameter specifies the how much of the diffuse light gets into the material, and thus gets modified by the SSS mechanism. It can be seen as a per-channel mix factor between the original image, and the SSS-filtered image.
[DataMember(20)]
[Display("Strength", null)]
public Color3 Strength { get; set; }
Property Value
| Type | Description |
|---|---|
| Color3 |
Methods
Equals(Object)
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
Generate()
public Vector4[] Generate()
Returns
| Type | Description |
|---|---|
| Vector4[] |
GetHashCode()
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |