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

SceneView does not display SoftMask properly #16

Closed
mob-sakai opened this issue Nov 20, 2018 · 0 comments
Closed

SceneView does not display SoftMask properly #16

mob-sakai opened this issue Nov 20, 2018 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@mob-sakai
Copy link
Owner

mob-sakai commented Nov 20, 2018

Why is not it displayed properly in SceneView?

SoftMask calculates the final alpha value based on the value of each channel of the soft mask buffer.
The soft mask buffer is a buffer generated based on GameView's screen space.

Since SceneView has a view matrix and a projection matrix independent of GameView, the SceneView's camera can not refer to the soft mask buffer properly.

Therefore, in GameView, it is displayed properly. but in ScreenView, it is displayed like default Mask.

@mob-sakai mob-sakai added the question Further information is requested label Dec 22, 2018
@mob-sakai mob-sakai added bug Something isn't working and removed by design question Further information is requested labels Jan 31, 2019
@mob-sakai mob-sakai reopened this Jan 31, 2019
@mob-sakai mob-sakai added this to the 0.5.0 milestone Feb 1, 2019
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

1 participant