Method SetRcasConstantsLinear
SetRcasConstantsLinear(CommandBuffer, float)
Sets the constant values required by the FSR RCAS shader on the provided command buffer
Equivalent to SetRcasConstants(), but handles the sharpness parameter as a linear value instead of one specified in stops. This is intended to simplify code that allows users to configure the sharpening behavior from a GUI.
Declaration
public static void SetRcasConstantsLinear(CommandBuffer cmd, float sharpnessLinear = 0.92)
Parameters
| Type | Name | Description | 
|---|---|---|
| CommandBuffer | cmd | Command buffer to modify  | 
    
| float | sharpnessLinear | The level of intensity of the sharpening filter where 0.0 is the least sharp and 1.0 is the most sharp  | 
    
SetRcasConstantsLinear(RasterCommandBuffer, float)
Declaration
public static void SetRcasConstantsLinear(RasterCommandBuffer cmd, float sharpnessLinear = 0.92)
Parameters
| Type | Name | Description | 
|---|---|---|
| RasterCommandBuffer | cmd | |
| float | sharpnessLinear |