Search Unity

Showcase Tension Tools: Open Source Package

Discussion in 'Shader Graph' started by apilola, Feb 17, 2023.

  1. apilola

    apilola

    Joined:
    Jul 27, 2018
    Posts:
    17
    Tension Tools

    Noodle_Showcase (3).gif FaceShowcase.jpg

    Overview
    The project contents contains the all the code necessary to calculate tension data on inside a shader. It also contains some other tools generic tools required to create the "Skin" material that you see in the showcase above. The following implementation will work with Rigged Geometry as well as BlendShapes/MorphTargets.

    Requirements
    • At least Unity 2021.3.18f1
    • This Noodle Demo in the showcase above requires the use of the Universal Render Pipeline although the package itself should work in any pipeline

    More information can be found at
    https://github.com/apilola/tension-tools

    Contents

    Components:
    • TensionData.cs
    Shader Nodes:
    • SampleTension
      • Samples the tension experienced by the mesh provided the renderer has a TensionData component.
    • Subsurface Scattering
      • Calculates subsurface scattering.
    • Simple Subsurface
      • Simplifies the process to calculate subsurface scattering but provides less inputs
    • Simple Subsurface GI
      • Same as simple subsurface but applies global illumination
    • Unpack Normal
      • Unpacks a normal map and applies a weight to its intensity.
    • AO-Smoothness-Metalic
      • this node samples a texture and samples their weights.
    Contributions are welcome.

    Edit:
    If any one does end up using this package in a project, I would love to shout them out in this projects readme on github.
     

    Attached Files:

    Last edited: Feb 20, 2023
    Oxeren, wwWwwwW1, florianBrn and 5 others like this.
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,060
    Looks really good! Great work
     
    apilola likes this.
  3. apilola

    apilola

    Joined:
    Jul 27, 2018
    Posts:
    17
  4. Reanimate_L

    Reanimate_L

    Joined:
    Oct 10, 2009
    Posts:
    2,788
    Great Work , I wonder is this compatible with HDRP ???
     
  5. apilola

    apilola

    Joined:
    Jul 27, 2018
    Posts:
    17
    @Reanimate_L in theory it should work in HDRP, however one of the editor scripts will throw errors because I'm using a urp feature to draw the inspector preview.
     
  6. Reanimate_L

    Reanimate_L

    Joined:
    Oct 10, 2009
    Posts:
    2,788
    I see, alright good to know. Thanks for the info
     
  7. apilola

    apilola

    Joined:
    Jul 27, 2018
    Posts:
    17
    @Reanimate_L

    Okay, I have now updated the package so it will support any render-pipeline including both HDRP & Built In.

    Quick Edit:
    However the demo noodle, only supports URP as of now.
     
    florianBrn, Reanimate_L and DevDunk like this.
  8. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    Hey, I tried to use the package, seems some of the files are missing / corrupt when being pulled from Git (e.g. textures, lighting assets). Seems like a LFS issue.
     
    apilola likes this.
  9. apilola

    apilola

    Joined:
    Jul 27, 2018
    Posts:
    17
    Hey Qleenie,

    Can you give me more info? What render pipeline are you using? Can you give me reproduction steps?

    Edit: Okay! Sorry about that, I think your the first person to include the package in a project other than me. I think I resolved the issue. Could you add and remove the package from your project?
     
    Last edited: Apr 20, 2023
  10. Qleenie

    Qleenie

    Joined:
    Jan 27, 2019
    Posts:
    868
    I tried different things, all failed (download zip, git clone, install as package in a new project). The reason is your LFS quota is exceeded, so all LFS files are not accessible. I guess there is some sort of LFS quota for open / free repros on Github (I am using a paid Github account, which is quite expensive for large amount of LFS space).
    Tried again today, same issue (at least on clone and download zip).
     
    apilola likes this.
  11. apilola

    apilola

    Joined:
    Jul 27, 2018
    Posts:
    17
    Ahh, I ran out of bandwidth for the repository. It should be okay now.
     
    Qleenie likes this.