Table of Contents

Class MaterialSubsurfaceScatteringScatteringProfileSkin

Namespace
Stride.Rendering.Materials
Assembly
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("MaterialSubsurfaceScatteringScatteringProfileSkin")]
public class MaterialSubsurfaceScatteringScatteringProfileSkin : IMaterialSubsurfaceScatteringScatteringProfile
Inheritance
MaterialSubsurfaceScatteringScatteringProfileSkin
Implements

Methods

Generate(MaterialGeneratorContext)

Generates the shader class source used for the shader composition.

public ShaderSource Generate(MaterialGeneratorContext context)

Parameters

context MaterialGeneratorContext

Returns

ShaderSource

ShaderSource.