Method PrepareSplitToning
PrepareSplitToning(in Vector4, in Vector4, float)
Pre-filters colors used for the split toning effect.
Declaration
public static (Vector4, Vector4) PrepareSplitToning(in Vector4 inShadows, in Vector4 inHighlights, float balance)
Parameters
| Type | Name | Description | 
|---|---|---|
| Vector4 | inShadows | A color used for shadows.  | 
    
| Vector4 | inHighlights | A color used for highlights.  | 
    
| float | balance | The balance between the shadow and highlight colors, in range [-100;100].  | 
    
Returns
| Type | Description | 
|---|---|
| (Vector4, Vector4) | The two input colors pre-filtered for shader use.  |