Class BRDFInput
Class that can be used to collect properties that will serve as uniforms for a BRDF lighting calculation. In addition this input provides properties for albedo and normal textures.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core.Effects
Assembly: Fusee.Engine.Core.dll
Syntax
public class BRDFInput : DiffuseInput, INotifyValueChange<SurfaceEffectEventArgs>
Constructors
BRDFInput()
Creates a new instance of type BRDFInput.
Declaration
public BRDFInput()
Properties
IOR
The index of refraction. Note that this is set to 0.04 for dielectrics when rendering deferred.
Declaration
public float IOR { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Metallic
Value used to blend between the metallic and the dielectric model.
Declaration
public float Metallic { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Specular
Amount of dielectric specular reflection.
Declaration
public float Specular { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Subsurface
Mix between diffuse and subsurface scattering.
Declaration
public float Subsurface { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
SubsurfaceColor
The color of the subsurface scattering.
Declaration
public float3 SubsurfaceColor { get; set; }
Property Value
Type | Description |
---|---|
float3 |
ThicknessMap
The albedo texture.
Declaration
public Texture ThicknessMap { get; set; }
Property Value
Type | Description |
---|---|
Texture |