Details
Add Sharpen effect to your Sprite Renderer and Unity UI Canvas Image.
Add it to the Sprite Renderer or Unity UI Canvas Image GameObject via the Components menu
2DxFX > Standard > Sharpen4 Gradients is available in Advanced Lightning Mode. Via the Components menu
2DxFX > Advanced Lightning > SharpenNote : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)
*without and with 2DxFX Sharpen
Property |
Range |
Default |
|---|---|---|
| _Alpha | 0 to 1 | 1f |
| Sharpen | 0.001f to 12f | 4.0f |
Manipulate Sharpen by script
Example:
// Drag and Drop your Sprite GameObject
// with the Sharpen component
// to your current script on the FX_Standard_Sharpen field
public _2dxFX_Sharpen_Editor FX_Sharpen;
void Update()
{
FX_Sharpen._Alpha = 1f;
}