Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    MaterialSubsurfaceScatteringScatteringProfileSkin Class

    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.

    System.Object → MaterialSubsurfaceScatteringScatteringProfileSkin
    Derived from MaterialSubsurfaceScatteringScatteringProfileSkin:

    [Display("Skin", null)]
    [DataContract("MaterialSubsurfaceScatteringScatteringProfileSkin")]
    public class MaterialSubsurfaceScatteringScatteringProfileSkin : IMaterialSubsurfaceScatteringScatteringProfile
    Name Description
    Methods
    Generate(MaterialGeneratorContext)
    | Improve this Doc View Source

    Methods


    Generate(MaterialGeneratorContext)

    public ShaderSource Generate(MaterialGeneratorContext context)
    Parameters
    Type Name Description
    MaterialGeneratorContext context
    Returns
    Type Description
    ShaderSource

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation