mob-sakai / SoftMaskForUGUI

Enhance Unity UI (uGUI) with advanced soft-masking features to create more visually appealing effects!
https://github.com/mob-sakai/SoftMaskForUGUI
MIT License
2k stars 262 forks source link

SoftMask darkens TextMeshPro Texts Colored Outlines #187

Closed eroanasu closed 3 weeks ago

eroanasu commented 3 weeks ago

Would like to use a SoftMask on a Container which could have text (TMP) with an colored outline. However, it seems to make that outline color darker when on a SoftMask. Is this a bug? The color values on the Material itself is exactly the same, only the visible output changes.

Softmask disabled: image

Softmask enabled: image

mob-sakai commented 3 weeks ago

Thank you for your reporting! Tell me about your develop/build environment.

Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue? Of course, you don't need to include any secret assets from your project. Feel free to use free assets instead.

repos

mob-sakai commented 3 weeks ago

README: https://github.com/mob-sakai/SoftMaskForUGUI?tab=readme-ov-file#usage-with-textmeshpro

eroanasu commented 3 weeks ago

SoftMask Version 2.2.2 Platform: Windows, but will also build for iOS and Android Unity version: 2022.3.20f1 Build options: URP

I've also tested on older version (2021.3.37f1) of Unity and SoftMask version 1.0.2 and had the same results. TMP Essentials and TMP Support for ugui 2.0 also included. TextOutlineSample.zip

mob-sakai commented 3 weeks ago

Thank you. The issue is reproduced on my environment.

github-actions[bot] commented 3 weeks ago

:tada: This issue has been resolved in version 2.2.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

mob-sakai commented 3 weeks ago

@eroanasu Please update the package and re-import the shaders following the guide.

NOTE: In your environment (Unity 2022.3.20f1), please select TextMeshPro Support instead of TextMeshPro Support (ugui 2.0).

github-actions[bot] commented 1 week ago

:tada: This issue has been resolved in version 3.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: