GithubHelp home page GithubHelp logo

Comments (8)

naelstrof avatar naelstrof commented on May 28, 2024 1

Try increasing the --bordersize, and disabling OpenGL for now. I believe I know what's wrong (linear sampling on the texture) and it should be fixed in the next patch.

from slop.

naelstrof avatar naelstrof commented on May 28, 2024

Should be fixed in https://github.com/naelstrof/slop/releases/tag/v5.3.36

Could you test it out for me?

from slop.

naelstrof avatar naelstrof commented on May 28, 2024

If it's not fixed, please post an image of the problem. Not sure what kind of blur effect we're talking about here.

from slop.

jclc avatar jclc commented on May 28, 2024

After compiling the latest releases for slop and maim, the screenshots taken are no longer blurry! The blur effect still doesn't seem to work as intended (I'm assuming the selection is meant to be unblurred?), but the issue is fixed. I will continue experimenting with these new shaders though, they do seem interesting

from slop.

naelstrof avatar naelstrof commented on May 28, 2024

blur1 is a shader that reads pixels off the desktop, blurs them horizontally, then multiplies it by the current selection rectangle.
blur2 is a shader that only blurs the selection rectangle vertically.

Together you'll get a full guassian blur in both the x and the y direction. I realize the horizontal alpha might be a bit messed up since it doesn't blur the selection rectangle for alpha, but it should be accurate enough for most.

EDIT: This is no longer true as of a656673, it now properly blurs the selection rectangle horizontally as well.

from slop.

naelstrof avatar naelstrof commented on May 28, 2024

I'm going to close this issue though, feel free to ask questions about shaders in another thread.

from slop.

jclc avatar jclc commented on May 28, 2024

Alright. However, I just realised that I might have worded the issue badly, so I wanted to specify that the entire screen is being blurred, not just the box around the selection.

from slop.

naelstrof avatar naelstrof commented on May 28, 2024

Try playing with the --bordersize, or the --highlight option. If it still doesn't make sense, please post a new issue with the command you are running, with an image of what's wrong.

You can use maim -d10 delayedshot.png to take a delayed screenshot of your screen while running slop.

from slop.

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.