Class DiffusionProfileSettings
Class for Diffusion Profile settings
Implements
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetHashCode()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Icon("Packages/com.unity.render-pipelines.high-definition/Editor/Icons/Processed/DiffusionProfile Icon.asset")]
public sealed class DiffusionProfileSettings : ScriptableObject, IVersionable<DiffusionProfileSettings.Version>
Properties
Name | Description |
---|---|
diffuseShadingPower | Exponent on the cosine component of the diffuse lobe.\nHelps to simulate non lambertian surfaces. |
indexOfRefraction | Index of refraction. For reference, skin is 1.4 and most materials are between 1.3 and 1.5. |
lobeMix | Amount of mixing between the primary and secondary specular lobes. |
maximumRadius | Effective radius of the filter (in millimeters). |
primarySmoothnessMultiplier | Multiplier for the primary specular lobe. This multiplier is clamped between 1 and 2. |
scatteringDistance | Scattering distance. Determines the shape of the profile, and the blur radius of the filter per color channel. Alpha is ignored. |
secondarySmoothnessMultiplier | Multiplier for the secondary specular lobe. This multiplier is clamped between 0 and 1. |
transmissionTint | Color which tints transmitted light. Alpha is ignored. |
worldScale | Size of the world unit in meters. |
Methods
Name | Description |
---|---|
TryToUpgrade() | |
UpgradeMaterial(Material, DiffusionProfileSettings) |