Class BlackAndWhiteNode
Inheritance
System.Object
BlackAndWhiteNode
Assembly: Mixture.Runtime.dll
Syntax
[Documentation("\r\nConvert RGB image to White and Black. With the Mode property you can change how the black and white color is computed:\r\n\r\nName | Description\r\n--- | ---\r\nPerceptual Luminance | Compute the luminance with this RGB factor: 0.299, 0.587, 0.114\r\nD65 Luminance | Compute the luminance with D65 standard RGB factor: 0.2126729, 0.7151522, 0.0721750\r\nCustom Luminance | Compute the luminance the custom value \"Lum Factors\" in the inspector.\r\nLightness | Compute the lightness with `( max(R, G, B) + min(R, G, B) ) / 2`\r\nAverage | Compute the average with `( R + G + B ) / 3`\r\n")]
[Serializable]
public class BlackAndWhiteNode : FixedShaderNode, IUseCustomRenderTextureProcessing
Properties
|
Improve this Doc
View Source
displayMaterialInspector
Declaration
public override bool displayMaterialInspector { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
filteredOutProperties
Declaration
protected override IEnumerable<string> filteredOutProperties { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
Overrides
|
Improve this Doc
View Source
name
Declaration
public override string name { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
shaderName
Declaration
public override string shaderName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
|
Improve this Doc
View Source
ProcessNode(CommandBuffer)
Declaration
protected override bool ProcessNode(CommandBuffer cmd)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements