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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

► Subsurface Scattering Shader ◄

Discussion in 'Assets and Asset Store' started by Arkhivrag, Sep 20, 2014.

  1. kreso

    kreso

    Joined:
    Sep 7, 2013
    Posts:
    133
    [SOLVED] UPDATE: Removing Library folder of Unity cause rebuild of the project and the shader was loaded & compiled normaly.


    Hello @Arkhivrag
    First of all - thank you for a great asset!!

    I had problem upgrading my project to Linear color space (from Gamma) - the only mesh going invisible on mobile (using the mobile vertex shader) goes invisible when run on the device (works in editor).
    So I decided maybe upgrading the asset may help.

    I run into a problem when I tried to upgrade.
    I can import in fresh project and it works fine.

    But using it in my existing project, shader simply don't work.
    Only mobile vertex shader compiles, but it doesn't work. I can see changing values in the small sphere thumbnail of material window that I am changing values, but values do not change in the scene/game view (except the main color property).

    I deleted all the files related to asset from my current project, then imported.
    I did not move any asset's folders or files.
    I don't know what to do.

    Maybe these screenshots may help?
    On the left is working/fresh project, on the right my existing.

    I am using Silicone Mac, Unity 2021.2.14f1.

    Thank you for your help.
    Kind regards
    Kreso
     
    Last edited: Mar 18, 2022
  2. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,830
    Problem may be in Unity 2021.2. Shaders have not been updated for it yet.
    Unity 2021.x will be supported after it is released as LTS version. Currently it is 'tech release'.



    Amazing Assets - YouTube Facebook Twitter
     
    kreso likes this.
  3. MaxNiebuhr

    MaxNiebuhr

    Joined:
    Nov 7, 2017
    Posts:
    2
    Hi,
    I have a similar problem as the above:

    In my own project (2019.4.40f1 upgraded from 2019.2.0f1) the test scene looks dull and has no SSS. In a new project it works fine. So I deleted the library content and let things recompile, but it changed nothing.
    The project is definitely using the built-in render pipeline, but I also use external tools like Amplify Shaders, Beautify, Aura 2 and Bakery. Dunno if those interfere somehow.
    Thank you very much for your help.

    Kind regards,
    Max
     

    Attached Files:

  4. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,830
    It looks like you are using old asset version, which is not compatible with Unity 2019.4.
    If you have upgraded project from Unity 2019.2 to 2019.4, then remove SSS folder completely from the project, clear Asset Store cache folder and re-download asset using package manager.
     
  5. MaxNiebuhr

    MaxNiebuhr

    Joined:
    Nov 7, 2017
    Posts:
    2
    Unfortunately, that did not help, but I did it the other way around and moved all the personal project assets into the new project with the working SSS. It looks really nice and thank you again for your help!
     
unityunity