Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Sketch/Hand-Drawn Outline shader

Discussion in 'Assets and Asset Store' started by izzynab, Feb 27, 2022.

  1. izzynab

    izzynab

    Joined:
    May 7, 2021
    Posts:
    51



    Customizable and easy to use, advanced stylized Sketch/Hand-Drawn outline shader, to create unique outlines and contours.

    This asset provides simple and highly customizable shader that let's you make awasome pencil/sketch contours or stylized outlines for your game.
    Examples are included with the asset so you can easily start creating your own amazing contours.
    • The package includes 21 custom noise textures and 4 hatch textures.
    • Compatible only with URP pipeline.
    • Supports skinned meshes.
    • Easy settings assets for different outline types.
    The package includes 21 custom noise textures. + 4 hatch textures
    Main Features:
    • Up to 3 contours affected by noise and/or by automatic shader with customizable Frequency and Amplitude of contour.
    • Contours can be drawn with Synchronization or without.
    • Alpha channel impacted by noise
    • Noise uvs randomization
    • Noise uvs 'flow'
    • Depth mask
    • Settings data for outline saved with scriptable objects.
    • 21, 512x512 Custom noise and hatch textures
    a1112e2b-52e4-4726-82b0-72a409b8aa67.jpg 456e3660-e1d8-4929-9dd7-07391781cb55_orig.jpg f6fa8aaf-3f61-486b-ae03-e63437d8b2a8_orig.jpg
     
  2. KitBarry1809

    KitBarry1809

    Joined:
    Jun 27, 2018
    Posts:
    34
    Please explain how this asset works. The example scene doesn't work out of the box. The read me doesn't result in the demo scene showing any outlines, and doesn't explain how I would assign new outlines. I can't figure out how it works by looking at the demo because the demo doesn't do anything. I can't figure out how it works by looking at all the files. There are shaders, but I can't see how or what material I should make to make use of these shaders or to apply them to an object. There's no script I can see to put on an object to have it outlined. There's no layer setting I can find that will outline an object. Feeling extremely frustrated.
     
  3. izzynab

    izzynab

    Joined:
    May 7, 2021
    Posts:
    51
    To understand how it works, you need to know what is a renderer feature and where can you add one, because this asset uses Custom renderer feature called HandDrawnOutlinesFeature. Just add it to your urp asset, thats all.

    Please consider reading unity documentation on urp pipeline to understand, how urp pipeline assets works, and how to use renderer feature.

    I replied to your review yesterday:
    Thank you for purchase and review. I am really sorry for your troubles, but I wrote clearly in readme file: 'To see outlines, change project urp asset to 'HandDrawnURPAsset_Renderer' template asset.' Then, you could easily see how the renderer feature is setup, and you could set your own layers, that the renderer feature should affect, but i believe, in version 2020 and 2022 you do not need to change any layers to see the effect. And next thins is: 'If you do not see outlines in editor, this means you need to update renderer feature, simply by changing something there.' This is becouse renderer features do not always automatically update in editor. But after hitting play button everrything is going to work. You just have to change project urp asset to 'HandDrawnURPAsset'. The documentation says how to do that: https://docs.unity3d.com/Packages/c...1/manual/configuring-universalrp-for-use.html Or simply change your current 'Forward Renderer Data' in your URP Asset to 'HandDrawnURPAsset_Renderer'. I am also going to update readme to make it more clear. You should also check what unity version do you use, becouse the package is intended for 2020.3 and up. Please sent me an email, if you have any more troubles with the asset, if there is some bug that I don't know about i will do my best to fix it for you. You could tell me which version of unity and urp are you using so i could test it out.
     
  4. izzynab

    izzynab

    Joined:
    May 7, 2021
    Posts:
    51
    Did you resolved your problem? Please let me know. I want for my assets to be really great and easy to use, if you have any other questions, or what should i include in documentation i am currenly working on, please let me know, i would really appreciate that.
     
  5. KitBarry1809

    KitBarry1809

    Joined:
    Jun 27, 2018
    Posts:
    34
    I've done this, and nothing happens. I see no outlines.

    I've done this, and nothing happens. I see no outlines.

    I'm using 2020.3

    Please provide step-by-step screen shots, because what is clear to you is not at all clear to an audience who doesn't already know how to make this asset work. I can't tell if the asset just doesn't work, or if your instructions are missing something.
     
  6. izzynab

    izzynab

    Joined:
    May 7, 2021
    Posts:
    51
    I am working on documentation page, it should be out tomorrow.

    Did you check the layers that outlines feature affects?
    Each feature instance affects different layers of objects. In my template scene, objects are set with layers that you cannot see, because it is not possible to export and import layers without affecting project structure, and this is not good thing for asset package. So you should try making your own layer and assign objects you want to be outlined, and then assign this layer to renderer feature.
     
  7. KitBarry1809

    KitBarry1809

    Joined:
    Jun 27, 2018
    Posts:
    34
    I made a new layer and assigned the robots to it, and set the mask on the shader to match but that didn't work either.
     
  8. izzynab

    izzynab

    Joined:
    May 7, 2021
    Posts:
    51
    If there is no errors and you are using the newest version of URP, there could be some problem with project settings that breaks render textures or other things. I would appreciate if you could send me your project settings. You can easily send all project files excluding assets.
     
  9. izzynab

    izzynab

    Joined:
    May 7, 2021
    Posts:
    51
    I put a lot of though into that. And only thing that comes to my mind is that you are jot using correct URP asset. You could have 3 quality levels, low,mid and high and for each quality you have individual URP asset, and really you are not using right URP asset. But this would indicate that you didn't setup your right URP pipeline, and you don't fully understand how to do it. But this is of course guessing. If you could send me project files i would be able to find the mistake for sure.
    Cheers and thanks for patience.
     
  10. izzynab

    izzynab

    Joined:
    May 7, 2021
    Posts:
    51