Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtract method does not look smooth #203

Open
oktayturkdagli opened this issue Oct 8, 2024 · 6 comments
Open

Subtract method does not look smooth #203

oktayturkdagli opened this issue Oct 8, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@oktayturkdagli
Copy link

oktayturkdagli commented Oct 8, 2024

Describe the bug
Subtract method does not look smooth. Also the inside image is not visible in subtracted image (just solving with adding additive softmask shape component in inside image). Also, the opacity and color settings of the inner image are distorted and do not reflect the true values.

Screenshots
Subtract Bug
Subtract Inner Bug
Canvas

Environment (please complete the following information):

  • Version [2.4.0]
  • Platform: [Editor(Windows/Mac)]
  • Unity version: [2022.3.52f1]
  • Build options: [IL2CPP, .Net 4.x, URP, HDRP]
@oktayturkdagli oktayturkdagli added the bug Something isn't working label Oct 8, 2024
@oktayturkdagli oktayturkdagli changed the title Subtract is not soft Subtract method does not look smooth Oct 8, 2024
@mob-sakai
Copy link
Owner

Thank you for your reporting!

@mob-sakai
Copy link
Owner

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.

@oktayturkdagli
Copy link
Author

Thanks for the response, I avoided it because it would take time to create a new project and reproduce it, but I figured you would want it 😅. I will create a test project as soon as I can.

@oktayturkdagli
Copy link
Author

Firstly, I apologise for the late reply, I have been going through a really busy period.
I don't know how it happened, but the problem with jagged visualisation seems to have been solved.
I took the final version of the package and I'm using it.

But I noticed some other problems:

  • Even though I set the Show Mask Graphic checkbox true in the Masking Shape components of the subtractors, it does not show the graphic.
  • Also please play with the alpha values of the subtractors. You will see that this does not work correctly.

You can find the project files and a sample video below.
SubtractProblem.zip

SubtractProblem.mp4

@mob-sakai
Copy link
Owner

The stencil isn’t functioning properly.
This will likely require a significant overhaul of the MaskingShape system... 🤔

@mob-sakai
Copy link
Owner

Is this the output you expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants