Search Unity

RealToon (An AAA Toon/Anime Shader and Stylized)

Discussion in 'Assets and Asset Store' started by MJQStudioWorks, Jun 30, 2016.

  1. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    You are using built-in,
    This might be the Ambient light or GI.
    I recommend you to enable
    "Receive Environmental Lighting and GI".

    This is a new option to enable/disable environmental lighting/ambient light/GI
    This has been added change on RealToon 5.0.6


     
  2. veselekov

    veselekov

    Joined:
    Jan 5, 2014
    Posts:
    32
    Thanks so much. I sent you a DM.
     
  3. CRISTALSONIC

    CRISTALSONIC

    Joined:
    Sep 22, 2016
    Posts:
    136
    thanks that works grate for the hair

    the only issue I see is for portal transparency such as this vail
    ScreenShot_20220205132711.png I try to set up a gray dithered cutout pattern bit its just disappears ,
    basically
    is all there or all gone I can't do something like 70~30% can I?
     
  4. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi,
    Make it a gradient dithered pattern/noise not just one gray color value.

     
  5. CRISTALSONIC

    CRISTALSONIC

    Joined:
    Sep 22, 2016
    Posts:
    136
    I might need an example of that one, could I send you a texture and you send back an example ?
     
  6. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Sure send it by email.

     
  7. glykom

    glykom

    Joined:
    Aug 11, 2020
    Posts:
    15
    @MJQStudioWorks just wondering if you have any ETA for the mobile version? Thanks!
     
  8. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi the RealToon Built-In version has a Lite version for mobile use.
    For RealToon URP, version, can be use on mobile.

     
  9. glykom

    glykom

    Joined:
    Aug 11, 2020
    Posts:
    15
    Thanks for the reply, I’m using Realtoon URP for mobile at the moment. Sorry I should have been more clear, the 5.0.9 change log mentions lite mode for URP (which I assume is better mobile performance). Do you have any rough ETA for the new lite mode in 5.0.9? Thanks!
     
    Last edited: Feb 7, 2022
  10. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi,
    It is 50/50 means there might be a chance to move it to another version because of the more time
    and thinking needed, as of now we'll see if i can include it on 5.0.9.

     
  11. lolimilk

    lolimilk

    Joined:
    Dec 17, 2018
    Posts:
    15
    Hi,
    I look 5.0.9 update log have "Camera based dithering "
    the featrue like when camera is closet model the material can fade out ?
     
  12. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi,
    Yes i'm also planning that but it will also 50/50 to include it on 5.0.9.
    We'll see.:)

     
  13. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,292
    The inspector is broken, will this be fixed?

    hb.png
    Is it possible to have the features on top of the material inspector? It's really super annoying when you want to click multiple checkboxes, but they change position because of the inspector being extended whenever you click another checkbox?

    feat.png
     
  14. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi, may i know what unity version are you using?
    Are you using the unity 2022 beta version,
    Currently unity 2022 beta has this problem.

     
  15. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,292
    Yes, I'm using that one. Ok, thanks for the info. I didn't expect it to be broken tbh. I'll revert to a stable one for my first tests.
     
    MJQStudioWorks likes this.
  16. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,292
    Can you please add namespaces to your scripts in the next update?

    Code (CSharp):
    1. //Swap Shader To RealToon
    2. //MJQStudioWorks
    3. //2021
    4.  
    5. using UnityEngine;
    6. using UnityEditor;
    7.  
    8. public class SwapShaderToRealToon : EditorWindow
    9. {
    10.     #region Variables
    11.  
    12.     private string ShaderName = string.Empty;
    I told everyone on discord that I'm deducting a star from a review when the asset doesn't use them. So I have to stick with that :D
     
  17. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    *Hi, yes i was planning to add namespace on the next patch 5 0.8p4.
    It seems all has this.
    May i know why you want it to have namespace?

    *It is a game?

     
  18. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,292
    Because with more and more assets you buy chances become higher and higher that you waste your time when you import an asset and have an error because 2 publishers use the same class name in their assets. That's easily avoidable. I wish Unity would enforce having a namespace on asset submissions.
     
  19. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    That's why.
    Thanks for the info.

     
  20. Exeneva

    Exeneva

    Joined:
    Dec 7, 2013
    Posts:
    432
    RealToon broken in 2021.2.11f1 HDRP 12:
    upload_2022-2-19_2-59-51.png
     
  21. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi Exeneva,
    Try to reimport the realtoon folder by right click the folder then reimport.

    Are you using RayTracing?

     
  22. Exeneva

    Exeneva

    Joined:
    Dec 7, 2013
    Posts:
    432
    Still broken. Even updated to 2021.2.12f1, removed the entire package, and reimported. And yes, I did import the HDRP 12+ package.

    Not using raytracing.
     
  23. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Thanks for the updates.

    Try to create an empty hdrp project and import realtoon for troubleshoot/testing purpose and see what causes it.
    If the error still there i'll do a checking here.

    *The latest RealToon update is (5.0.8p4)
    be sure you have that version

     
    Last edited: Feb 20, 2022
  24. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,292
    So I tried now in 2020.3. Would it be possible to fix the user interface? The usability is horrible:

    ui.png

    I have to scroll down to enable features and try to find the checkbox that matches the same line as the text is. Suggestion:

    * move the checkbox to the left before the name or at least to the right of the longest label
    * or better: move it directly next to the feature itself and when it's activated show the content and remove the feature list altogether
    * if one wants to show/hide unused settings lines, you can always make a dedicated button for that

    The way it's now is just arbitrary and non-unity standard.

    Thank you very much for the consideration! I tried several assets now and yours seems to be best. But I can't get myself around the proprietry user interface, neither do I want to reduce the review by a star for that, so I rather don't write one for now :)
     
    Acissathar and MJQStudioWorks like this.
  25. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi, thank you for the suggestion, I already planned to change/improved the UI, mostly on the next major release.
    This UI look is entirely for RealToon 5.

    On the next patch 5.0.8p5 there will be some improvements on the UI.

    Thank you for using RealToon and no problem.:)


     
    Last edited: Feb 20, 2022
    Rowlan likes this.
  26. midgear

    midgear

    Joined:
    Apr 5, 2013
    Posts:
    14
    So I'm doing a HDRP project with real toon and randomly today my alpha cutouts started doing this strange reflection thing (See pictures). How can I fix this?

     
  27. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi, midgear
    This is a current problem when in Deferred Rendering.
    The cause of this is the GBuffer.
    For now you need to increase the cutout value.

    If you don't want to increase the cutout value.
    just change the rendering to Forward Rendering.

     
    Last edited: Feb 21, 2022
  28. Drenyn

    Drenyn

    Joined:
    Jan 8, 2019
    Posts:
    8
    Is there a way to do double-sided for the URP shader? I couldn't find the option for it anywhere. Thanks!
     
  29. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    H, Drenyn
    for double sided just change the "Culling" option to "off".

     
  30. Drenyn

    Drenyn

    Joined:
    Jan 8, 2019
    Posts:
    8
    That did it! Thank you for the help!
     
    MJQStudioWorks likes this.
  31. maulsmasher

    maulsmasher

    Joined:
    Jul 18, 2014
    Posts:
    2
    Question; Does HDRP post-processing Ambient Occlusion work with the realtoon shader?
     
  32. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi, currently not but i already planned to implement it soon.

     
  33. maulsmasher

    maulsmasher

    Joined:
    Jul 18, 2014
    Posts:
    2
    Ah damn, Okay. That will be a great addition to the shader. Thank you.
     
  34. yaslack2210

    yaslack2210

    Joined:
    Feb 17, 2022
    Posts:
    4
    Hi everyone just a little question how do you guys have the shader clean with all the feature correctly in bunch for me all the feature are mixed randomly in my shader, plus just a little question recently i follow this tutorial to have custom shadow on face using a grayscale images is this possible to do the same with realtoon ?
     
  35. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi yaslack2210,
    About clean shading on face, You can try to use the Smooth Object Normal/Ignore Object Normal feature,
    Unfortunately not all model will work on this, so try it first.
    Smooth Object Normal Tutorial

    You can also try this one:
    Clean shade face (Tutorial)

    For more RealToon Tutorials:
    RealToon Tutorial Playlist (Tutorial)
     
    Last edited: Mar 14, 2022
  36. yaslack2210

    yaslack2210

    Joined:
    Feb 17, 2022
    Posts:
    4
    Sure i will try it thank you!!
     
    MJQStudioWorks likes this.
  37. SquareEyesTaco

    SquareEyesTaco

    Joined:
    Mar 25, 2013
    Posts:
    28
    Hello! im having a strange problem where when i try to apply the real toon effects to a material - the inspector is blank and there are no options. Any idea what i could have done wrong?
     
  38. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi, SquareEyesTaco
    May i know what rendering pipeline is your project? Built-In, URP or HDRP?
    If URP or HDRP, what version?

    *Be sure, RealToon folder is in the root folder "Asset".

     
  39. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,248
    How can I create an x-ray type material with toon in HDRP?
     
  40. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi newguy123,
    To create an xray style/look.

    Enable Transparent Mode then change the opacity to something semi transparent.
    Then enable RimLight feature, after that, uncheck the In light.

     
    newguy123 likes this.
  41. Ruchir

    Ruchir

    Joined:
    May 26, 2015
    Posts:
    934
    Hey, I really love the asset.

    I currently have a day-night cycle in my game which has two always enabled directional lights (Just one casts shadows at any time), but it seems that this asset doesn't support multiple directional lights and just fallbacks to being lit by ambient light and other local lights. Is there a way you could add support for multiple directional lights?

    I'm using HDRP (Unity 2021.2)
    Thanks
     
  42. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi, thank you =)

    About multiple directional lights.
    Currently RealToon only 1 directional light can be use, if you try to use two it will use the brightest directional light.
    I already planned to add this support, but it will take time because it needs to rearrange the shader code of the directional light, Only URP and HDRP.

    For the meantime you can try to code the directional lights,
    Do the fade and disable and enable directional light.
    "Sun DL > fade out light value & disable and fade in & enable > Night DL."

    **Take note, this is general or always**
    Only 1 directional light can have or can cast real-time shadow.
    The other one will just shade, no realtime shadow.

     
  43. Ruchir

    Ruchir

    Joined:
    May 26, 2015
    Posts:
    934
    This is already the case.

    This isn't feasible right now due to how the day-night cycle works, but yeah this is what I tried first.
     
  44. Ruchir

    Ruchir

    Joined:
    May 26, 2015
    Posts:
    934
    one problem with this system is that it chooses the brighter directional light even when the sun is below horizon, so the object just doesn't react to the second light
     
  45. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    "This is already the case."
    - Yes it is.

    *This isn't feasible right now due to how the day-night cycle works, but yeah this is what I tried first.
    -
    You already tried it, maybe there is still a way to do it.

    *one problem with this system is that it chooses the brighter directional light even when the sun is below horizon, so the object just doesn't react to the second light
    - Yes, It follows the light value Intensity, that's how unity did it.

    *Have you tried to use the unity sky override settings?
    i recommend you use Ambient Mode "Dynamic" so that if you change the directional light direction, it affects the light on the object.

     
  46. yaslack2210

    yaslack2210

    Joined:
    Feb 17, 2022
    Posts:
    4
    Hi, sorry for my noob question can someon explain me how to use the matcap ? i have some element in my texture that i want to make them look like metal, also i want to make some specific part of my texture reflect with light can i do it ?
     
    Last edited: Mar 20, 2022
  47. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi yaslack2210, here's an example of MatCap texture/map:
    12719.jpg

    To enable MatCap in RealToon, just enable MatCap under the category Enable/Disable Features
    then download that example image and apply it to MatCap texture slot and you'll see the result.
    You can also do masking.


     
    yaslack2210 likes this.
  48. yaslack2210

    yaslack2210

    Joined:
    Feb 17, 2022
    Posts:
    4
    OOOOHH THats sooo coool i love your shader seriouslyyyy GOOD JOB !!!!!!
     
    MJQStudioWorks likes this.
  49. JanKrocak

    JanKrocak

    Joined:
    Jul 11, 2021
    Posts:
    13
    Hello,
    Thanks for such a great shader! I was just wondering if there is a way to get a different texture patterns
    within the shadow as shown in the example above? I am just trying to break the flat shadow with something.
    Thank you!
     

    Attached Files:

  50. MJQStudioWorks

    MJQStudioWorks

    Joined:
    Oct 12, 2012
    Posts:
    655
    Hi JanKrocak,
    Thank you :)

    To do that, enable 'TextureP' feature.