MaterialSubsurfaceScatteringScatteringProfileSkin 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.
System.Object →
MaterialSubsurfaceScatteringScatteringProfileSkin
Derived from MaterialSubsurfaceScatteringScatteringProfileSkin:
[Display("Skin", null)]
[DataContract("MaterialSubsurfaceScatteringScatteringProfileSkin")]
public class MaterialSubsurfaceScatteringScatteringProfileSkin : IMaterialSubsurfaceScatteringScatteringProfile
Name | Description | |
---|---|---|
Methods | ||
Generate(MaterialGeneratorContext) |
Methods
Generate(MaterialGeneratorContext)
public ShaderSource Generate(MaterialGeneratorContext context)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context |
Returns
Type | Description |
---|---|
ShaderSource |