Show / Hide Table of Contents

Class DiffuseInput

Class that can be used to collect properties that will serve as uniforms for diffuse only lighting calculation. In addition this input provides properties for albedo and normal textures.

Inheritance
System.Object
SurfaceEffectInput
UnlitInput
DiffuseInput
BRDFInput
GlossyInput
SpecularInput
Implements
INotifyValueChange<SurfaceEffectEventArgs>
Inherited Members
UnlitInput.AlbedoMix
UnlitInput.AlbedoTex
UnlitInput.TexTiles
SurfaceEffectInput.ShadingModel
SurfaceEffectInput.TextureSetup
SurfaceEffectInput.Albedo
SurfaceEffectInput.PropertyChanged
SurfaceEffectInput.NotifyValueChanged(Type, String, Object)
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 DiffuseInput : UnlitInput, INotifyValueChange<SurfaceEffectEventArgs>

Constructors

DiffuseInput()

Creates a new instance of type DiffuseInput.

Declaration
public DiffuseInput()

Properties

Emission

The albedo color.

Declaration
public float3 Emission { get; set; }
Property Value
Type Description
float3

NormalMappingStrength

The normal texture.

Declaration
public float NormalMappingStrength { get; set; }
Property Value
Type Description
System.Single

NormalTex

The normal texture.

Declaration
public Texture NormalTex { get; set; }
Property Value
Type Description
Texture

Roughness

The roughness value. If 0.0 the diffuse component gives standard Lambertian reflection, higher values activate the Oren-Nayar calculation.

Declaration
public float Roughness { get; set; }
Property Value
Type Description
System.Single

Implements

INotifyValueChange<T>
Generated by DocFX
GitHub Repo
Back to top