What this component contains
ATTRIBUTION.mdLICENSEREADME.mdcomponent.jsondemo.tscninspect_shader.pymaterial.trespreview.pngsprite_hsv_adjust.gdshadertest_package.pyverification/native.json
How it works
- Shader type
- canvas_item
- Parameters
- hue_shift_degrees (float = 0), saturation (float = 1), value (float = 1), contrast (float = 1), grayscale (float = 0), sepia (float = 0)
- Use it on
- A Sprite2D (or other textured CanvasItem) with transparent space around its shape, assigned to the node as usual.
- Result
- The orange sprite rotated to cool blue and green hues with a little more saturation.
- Renderers
- compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
- Placement
- res://baltor/godot_shaders/sprite_hsv_adjust/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
contract_staticengine_runengine_log_cleanshader_in_scenecapture_writtenrender_not_uniformshader_changes_pixels
Limits to consider
Hue rotation in HSV is not perceptually uniform, so some hues change brightness as they rotate. Greys have no hue to rotate.