The forum on this site is closed for new comments and posts. Continue the conversation in the new forum, and learn more here.

sharpen effect in lens shader

  • Would be nice if someone knows how to do this, i was also curious how to add an "sharpen" effect to Lensstudio.




    Comment actions Permalink
  • nobody has the answer I am disappointed with the community lens studio it is as empty as a glass there is no solidarity between us forcing us to ask the competition sparksutido which answers in 0.5 second

    Comment actions Permalink
  • I recommend you tone it down a little. The Lens Studio team is fairly small and not everyone in the community knows how to work with shaders. I for one have not coded WebGL shaders and don't know how to translate your shader code into material nodes.

    However, following the process in this tutorial I did create a sharpen material. You blur the image, subtract it from the original, add 0.5, and then overlay it on the original. The amount of sharpening is controlled by the blur amount. I have an example project here you can download.

    Note: The Pixel Size on my Gaussian Blur node is set to 0.001, 0.001 - it appears as 0, 0 in the screenshot below, but it should have a value. The bottom input on the Add node is neutral gray (128, 128, 128).

    Comment actions Permalink
  • I thank you from the bottom of my heart I'm sorry I got carried away because it's going to be 4 months I'm trying to find the solution for the effect sharpen. thank you for answering me anyway I wish you all a good day

    Comment actions Permalink
  • No worries. I understand your frustration and I'm sorry it took so long for you to get an answer. Good luck with your lens!

    Comment actions Permalink
  • no it's me I'm sincerely sorry I'm French it's very difficult to find help.

    for the lens sharpen I would like to modify the source code of the shader or introduce our source code .

    the sharpen that you have it seems to me very well my when a value 4.00 it disappears the most contrast

    Comment actions Permalink
  • i’ll try to go off of what the picture says because your file doesn’t work

    Comment actions Permalink
  • modelsbymike3d I want to ask you how do i fix that the face thingy doesnt cover the full screen it leaves a gap at the top.

    Comment actions Permalink
  • It's a weakness of the technique. Instead of applying the sharpening as a post effect, you could try applying the material to a Screen Image and then scale up the Screen Image by a small amount (make sure you still keep it centered on the screen) to push the band outside of the screen area. If you have other items/effects in your scene you'd probably have to rearrange things, but it's something you could try.

    Comment actions Permalink

We're here to help! We just need a little bit of information...

What system are you using?

Have you downloaded the latest version of Lens Studio?

Please download the latest version of Lens Studio. If you still run into this issue, please come back and report it!

Is this issue causing Lens Studio to crash?

What system do you run Lens Studio on?



Follow the next steps to help us solve your issue:

  • Copy and paste this text into your TerminalCommand Window
    open ~/Library/Preferences/Snap/Lens\ Studio/ %LOCALAPPDATA%\Snap\Lens Studio Copy Text
  • Press ReturnEnter to run the command. The Lens Studio folder will automatically open
  • Prepare to upload your files: zip the "Log" Folder by right-clicking and choosing "compress."
    Locate the Log.txt file right above it.

    Attach a screenshot of the issue:



What is this most relevant to?

Please enter a brief description of your issue:

Thanks for submitting this issue.

Unfortunately, it's likely due to the operating system or hardware you're using – since they don't meet the system requirements for Lens Studio.

Still, we hear you loud and clear, and are logging the issue in case there's ever a workaround we can provide!

Minimum Requirements

Operating System: Windows 10 (64 bit); MacOS 10.11+

Hardware: Minimum of Intel Core i3 2.5Ghz or AMD Phenom II 2.6Ghz with 4 GB RAM; Intel HD Graphics 4000 / Nvidia GeForce 710 / AMD Radeon HD 6450 or better; screen resolution of 1280x768 or higher

We'll try to resolve this issue as soon as possible. Thanks for letting us know about it!

Keep an eye out for a followup email from us. We may have a couple more questions for you, or we might already have a solution to offer.

Happy creating!