MaterialSubsurfaceScatteringScatteringProfileCustom Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Calculates a custom scattering profile, which is applied during the forward pass using the subsurface scattering shading model.
ATTENTION: This class is subject to change because it does not yet give you full control over generating scattering kernels and profiles.
System.Object →
MaterialSubsurfaceScatteringScatteringProfileCustom
Derived from MaterialSubsurfaceScatteringScatteringProfileCustom:
[Display("Custom (Skin based)", null)]
[DataContract("MaterialSubsurfaceScatteringScatteringProfileCustom")]
public class MaterialSubsurfaceScatteringScatteringProfileCustom : IMaterialSubsurfaceScatteringScatteringProfile
Name | Description | |
---|---|---|
Constructors | ||
MaterialSubsurfaceScatteringScatteringProfileCustom() | ||
Properties | ||
FalloffMap | 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. |
|
Methods | ||
Equals(MaterialSubsurfaceScatteringScatteringProfileCustom) | ||
Equals(Object) | ||
Generate(MaterialGeneratorContext) | ||
GetHashCode() |
Constructors
MaterialSubsurfaceScatteringScatteringProfileCustom()
public MaterialSubsurfaceScatteringScatteringProfileCustom()
Properties
FalloffMap
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 map", null)]
public IComputeColor FalloffMap { get; set; }
Property Value
Type | Description |
---|---|
IComputeColor |
Methods
Equals(MaterialSubsurfaceScatteringScatteringProfileCustom)
protected bool Equals(MaterialSubsurfaceScatteringScatteringProfileCustom other)
Parameters
Type | Name | Description |
---|---|---|
MaterialSubsurfaceScatteringScatteringProfileCustom | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
Generate(MaterialGeneratorContext)
public ShaderSource Generate(MaterialGeneratorContext context)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context |
Returns
Type | Description |
---|---|
ShaderSource |
GetHashCode()
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()