Giter Club home page Giter Club logo

Comments (4)

drdavient avatar drdavient commented on June 15, 2024 1

Your fix to flipping the object is a good one :) (Not what I was reporting though :)

Your scene view observations are correct - though I also get this in the game view. I'm showing this in the attached image.
image

And new demo project (using 0.7.0 now)
SoftMaskCropping.zip

  • Bottom is normal:
    As expected
  • Middle is moving the Canvas towards x=0 (moved left 75 units).
    Imaged is clipped from both sides
  • Top is moving the Panel toward the x=0(moved left 75 units).
    Image is clipped on the left;

from softmaskforugui.

mob-sakai avatar mob-sakai commented on June 15, 2024 1

Thank you very much. 👍
It was really easy to understand and to fix!

I'll release a fixed version, ASAP. :)

from softmaskforugui.

mob-sakai avatar mob-sakai commented on June 15, 2024

Hi @drdavient
Thank you for reporting!

from softmaskforugui.

mob-sakai avatar mob-sakai commented on June 15, 2024

Hmm...
I don't understand completely what you mean...

When I load your scene, the "star" mask is flipped, right?
I create a new issue #37.

When a worldspace camera is used (rather than screen overlay). The Masked content will reduce in width, height as it approaches (0,0)
Unity Chan is cropped as approaching (0,0)

Like this? This is expected result.
SoftMaskBuffer is shared in game view and scene view.
Therefore, the result image is cropped in scene view.

from softmaskforugui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.