1.0.0-preview.7

# [1.0.0-preview.7](https://github.com/mob-sakai/SoftMaskForUGUI/compare/v1.0.0-preview.6...v1.0.0-preview.7) (2020-08-17)

### Features

* memoryless mode (depth) ([8cf202f](8cf202f958))
pull/122/head
semantic-release-bot 2020-08-17 02:38:48 +00:00
parent 52c3a09e61
commit 1479064931
4 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,10 @@
# [1.0.0-preview.7](https://github.com/mob-sakai/SoftMaskForUGUI/compare/v1.0.0-preview.6...v1.0.0-preview.7) (2020-08-17)
### Features
* memoryless mode (depth) ([8cf202f](https://github.com/mob-sakai/SoftMaskForUGUI/commit/8cf202f958be902d34994f3c07082f893f9b455b))
# [1.0.0-preview.6](https://github.com/mob-sakai/SoftMaskForUGUI/compare/v1.0.0-preview.5...v1.0.0-preview.6) (2020-08-17) # [1.0.0-preview.6](https://github.com/mob-sakai/SoftMaskForUGUI/compare/v1.0.0-preview.5...v1.0.0-preview.6) (2020-08-17)

View File

@ -169,6 +169,12 @@ To use SoftMask with TextMeshPro, import a sample asset.
The assets will be imported into `Assets/Samples/UI Soft Mask/{version}/TextMeshPro Support`. The assets will be imported into `Assets/Samples/UI Soft Mask/{version}/TextMeshPro Support`.
**NOTE:** You must import `TMP Essential Resources` before using. They include shaders, fonts, etc.
**NOTE:** If the shader error is not resolved, reimport the shader. Or, import the `TextMeshPro Support` again.
<br><br><br><br> <br><br><br><br>

View File

@ -189,7 +189,7 @@ namespace Coffee.UISoftMask
if (!_softMaskBuffer) if (!_softMaskBuffer)
{ {
_softMaskBuffer = RenderTexture.GetTemporary(w, h, 0, RenderTextureFormat.ARGB32, RenderTextureReadWrite.Default); _softMaskBuffer = RenderTexture.GetTemporary(w, h, 0, RenderTextureFormat.ARGB32, RenderTextureReadWrite.Default, 1, RenderTextureMemoryless.Depth);
hasChanged = true; hasChanged = true;
_hasStencilStateChanged = true; _hasStencilStateChanged = true;
} }

View File

@ -2,7 +2,7 @@
"name": "com.coffee.softmask-for-ugui", "name": "com.coffee.softmask-for-ugui",
"displayName": "UI Soft Mask", "displayName": "UI Soft Mask",
"description": "UI Soft Mask is a smooth masking component for Unity UI (uGUI) elements.\nBy using SoftMask instead of the default Mask component, you can beautifully represent the rounded edges of UI elements.", "description": "UI Soft Mask is a smooth masking component for Unity UI (uGUI) elements.\nBy using SoftMask instead of the default Mask component, you can beautifully represent the rounded edges of UI elements.",
"version": "1.0.0-preview.6", "version": "1.0.0-preview.7",
"unity": "2017.1", "unity": "2017.1",
"license": "MIT", "license": "MIT",
"repository": { "repository": {