Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 4f66bbfb4d chore(release): 5.6.1 [skip ci]
## [5.6.1](https://github.com/mob-sakai/UIEffect/compare/5.6.0...5.6.1) (2025-03-28)

### Bug Fixes

* changes were not correctly marked as dirty when loading presets ([76be0fc](https://github.com/mob-sakai/UIEffect/commit/76be0fc860c27b89235b7fb9a766dcc38b3d9924))
2025-03-28 11:18:28 +00:00
mob-sakai 91d5519356 docs: update docs 2025-03-28 20:17:37 +09:00
mob-sakai 76be0fc860 fix: changes were not correctly marked as dirty when loading presets 2025-03-28 20:17:36 +09:00
8 changed files with 6382 additions and 83 deletions
File diff suppressed because it is too large Load Diff
@@ -133,8 +133,14 @@ ShaderVariantCollection:
passType: 0
- keywords: SAMPLING_PIXELATION TONE_RETRO UNITY_UI_CLIP_RECT
passType: 0
- keywords: SAMPLING_PIXELATION TRANSITION_COLOR_MULTIPLY TRANSITION_PATTERN
passType: 0
- keywords: SAMPLING_PIXELATION TRANSITION_COLOR_MULTIPLY_ADDITIVE TRANSITION_DISSOLVE
passType: 0
- keywords: SAMPLING_RGB_SHIFT
passType: 0
- keywords: SAMPLING_RGB_SHIFT TRANSITION_COLOR_MULTIPLY TRANSITION_PATTERN
passType: 0
- keywords: SHADOW_COLOR_REPLACE
passType: 0
- keywords: TONE_GRAYSCALE
+7
View File
@@ -1,3 +1,10 @@
## [5.6.1](https://github.com/mob-sakai/UIEffect/compare/5.6.0...5.6.1) (2025-03-28)
### Bug Fixes
* changes were not correctly marked as dirty when loading presets ([76be0fc](https://github.com/mob-sakai/UIEffect/commit/76be0fc860c27b89235b7fb9a766dcc38b3d9924))
# [5.6.0](https://github.com/mob-sakai/UIEffect/compare/5.5.3...5.6.0) (2025-03-28)
+4 -2
View File
@@ -69,6 +69,7 @@ Combine various filters, such as grayscale, blur, and dissolve, to decorate your
- **UIEffectTweener Component**: A simple tweener component to play, stop, pause, and resume effects.
- **AnimationClip support**: Allows control of effect animations using `AnimationClips`.
- **v4 compatible components (optional)**: For easy upgrading with minimal changes, compatible v4 components are available optionally.
- **SoftMaskForUGUI support (optional)**: Compatible with SoftMaskForUGUI for creating soft masks for UI elements. See for more details [here](#usage-with-softmaskforugui).
<br><br>
@@ -339,7 +340,7 @@ The `UIEffect` component applies visual effects to UI elements, allowing various
![](https://github.com/user-attachments/assets/295d7d2d-be6e-4104-9ea3-e5208902a3d2)
- **Detail Filter**: `None`, `Masking`, `Multiply`, `Additive`, `Replace`, `MuliplyAdditive`
![](https://github.com/user-attachments/assets/73933788-4179-4d8d-9b07-446d0a998227)
![](https://github.com/user-attachments/assets/7011459b-a090-4044-be1e-acfe8981ea01)
- **Detail Intensity**: 0.0 (no effect) - 1.0 (full effect).
- **Detail Threshold** (`Masking` only): The minimum and maximum alpha values used for masking. The larger the gap
between these values, the stronger the softness effect.
@@ -362,7 +363,8 @@ The `UIEffect` component applies visual effects to UI elements, allowing various
- `Horizontal`
- `Vertical`
- `Effect`: Flip with the effect.
- `Shadow`: Flip with the shadow.
- `Shadow`: Flip with the shadow.
![](https://github.com/user-attachments/assets/dbc2440b-81f1-4f24-8c0c-b298689ced86)
> [!TIP]
> `Transition Filter`, `Gradation Filter`, and `Detail Filter` usually refer to their own `RectTransform` when applying effects.
+2
View File
@@ -1724,6 +1724,7 @@ namespace Coffee.UIEffects
m_DetailTexSpeed = preset.m_DetailTexSpeed;
}
Misc.SetDirty(this);
UpdateContext(context);
SetVerticesDirty();
SetMaterialDirty();
@@ -1811,6 +1812,7 @@ namespace Coffee.UIEffects
m_DetailTexOffset = c.detailTexOffset;
m_DetailTexSpeed = c.detailTexSpeed;
Misc.SetDirty(this);
UpdateContext(context);
SetVerticesDirty();
SetMaterialDirty();
File diff suppressed because it is too large Load Diff
@@ -5411,7 +5411,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1887047859}
m_Enabled: 0
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3}
m_Name:
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "com.coffee.ui-effect",
"displayName": "UI Effect",
"description": "UIEffect is an open-source package that allows you to intuitively apply rich UI effects directly from the Inspector or via code.\nCombine various filters, such as grayscale, blur, and dissolve, to decorate your UI with a unique visual style!",
"version": "5.6.0",
"version": "5.6.1",
"unity": "2020.3",
"license": "MIT",
"repository": {