Details

Add HSV 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 menu2DxFX > Standard > HSV

4 Gradients is available in Advanced Lightning Mode. Via the Components menu2DxFX > Advanced Lightning > HSV

Note : Advanced Lightning is not working with the Unity UI Canvas (UI Canvas don't use lightning)

*without and with 2DxFX HSV


Property

Range

Default

_Alpha 0 to 1 1f
_HueShift 0 to 360 180f
_Saturation -2 to 2 1f
_ValueBrightness -2 to 2 1f

Manipulate HSV by script

Example:

// Drag and Drop your Sprite GameObject 
// with the HSV component 
// to your current script on the FX_Standard_HSV field 

public _2dxFX_HSV_Editor FX_HSV; 

void Update() 
{
	FX_HSV._Alpha =  1f;
}