Skip to content

Use the stencil buffer outside the scene view canvas for editing #100

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

Closed
32678 opened this issue Sep 7, 2020 · 5 comments
Closed

Use the stencil buffer outside the scene view canvas for editing #100

32678 opened this issue Sep 7, 2020 · 5 comments
Assignees
Labels

Comments

@32678
Copy link

32678 commented Sep 7, 2020

NOTE: Your issue may already be reported! Please search on the issue tracker before creating one.

Describe what help do you need
A description of the question.
Hello, I have a problem about showing masked image.

Before explain, I write about mask hierarchy
[Canvas] - [ScreenSpace - Camera]
-[GameObject1]
-[GameObject2]
-[GameObject3]
-[MaskImage] -> I gave softmask component here
-[MaskedImage] -> I gave softmaskable component

I completed soft mask setting, but [MaskedImage] didn't show on view.
I could see only [MaskImage] on the view.

And I tried to find resolution. I changed variety relevant settings and checked It's result.
finally, I found several hints about this problem.

-[MaskedImage] was shown within some boundary.
-And boundary was canvas resolution size.

And now I have a question.
-Can I make the [MaskedImage] visible outside the canvas resolution size area?
(Because of rules, resolution size cannot be changed)

*There may be weird sentences using the translator, I would be grateful if you could understand my situation.

Additional context
Add any other context or screenshots about the question here.
01
-[MaskedImage] showing just in that boundary.

02
-This is [MaskImage} setting.

03
-This is [MaskedImage} setting.

@32678 32678 added the question Further information is requested label Sep 7, 2020
@mob-sakai
Copy link
Owner

@32678
Are you talking about the scene view, not the game view?
That's a spec, but you find it inconvenient when editing in scene view, right?

@32678
Copy link
Author

32678 commented Sep 8, 2020

@32678
Are you talking about the scene view, not the game view?
-> Yes, I'm talking about the scene view.
Actually, I can't check if it's visible outside of the resolution in the game view.
Our project is a way to illuminate the screen while moving the camera on a long horizontal screen.
If this doesn't seem to work, does it actually appear in the developed app?

That's a spec, but you find it inconvenient when editing in scene view, right?
-> Yes, Is this an unavoidable part according to the specifications?

@mob-sakai
Copy link
Owner

OK.
I will fix it later.

[WIP] The stencil buffer will be used outside the scene view canvas.


@mob-sakai mob-sakai added enhancement New feature or request and removed question Further information is requested labels Sep 8, 2020
@mob-sakai mob-sakai changed the title Can I make the [MaskedImage] visible outside the canvas resolution size area Use the stencil buffer outside the scene view canvas for editing Sep 8, 2020
github-actions bot pushed a commit that referenced this issue Sep 8, 2020
# [1.0.0-preview.8](v1.0.0-preview.7...v1.0.0-preview.8) (2020-09-08)

### Features

* if the 'UIMask' sprite is specified as the source image, it is suggested to use another image ([ea904db](ea904db)), closes [#82](#82)
* option to disable softening completely ([dedd847](dedd847)), closes [#98](#98)
* use the stencil buffer outside the scene view canvas for editing ([dbab85c](dbab85c)), closes [#100](#100)
@github-actions
Copy link

github-actions bot commented Sep 8, 2020

🎉 This issue has been resolved in version 1.0.0-preview.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

@WintorJesseVanBloemenhuis

Ran into the same issue and it doesn't seem to work in v1.0.2 in Unity 2020.3.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants