Search Unity

[RELEASED] Distress & Layering Shaders

Discussion in 'Assets and Asset Store' started by Thunderbyte, Apr 4, 2018.

  1. Thunderbyte

    Thunderbyte

    Joined:
    Aug 28, 2015
    Posts:
    71
    This is a pack of shaders that allow for easy material blending and layering of multiple surface types.
    Sometimes you don't need separate materials for meshes. You also don't need to rebake all your textures for a small change to a specific surface type.
    By blending materials, you can have full realtime control over multiple surface types with just 1 draw call.

    These shaders allow you to quickly add configurable rust and dirt or any type of material as a layer on top your surfaces, either procedurally or by using configurable masks.

    They can be used to quickly give depth and character to your scenes or to generate variations/skins for your props with very little effort.





    Store Link

    Screenshot 1.png
    Screenshot 2.png
    Screenshot 4.png
    Screenshot 3.png
    Screenshot 7b.png
     
    Last edited: Apr 4, 2018
    Artaani, Mauri and Brian-Ryer like this.
  2. ThermodynamicsMakesMeHot

    ThermodynamicsMakesMeHot

    Joined:
    Feb 14, 2015
    Posts:
    222
    These look like a nice easy way to make thinks look more apocalyptic with models already having rather than having to buy specific ones. Would you have any examples how it would look for say a house or shed?

    Couple questions...First, what makes it so big: Size: 565.9 MB is pretty huge just to add an shader but I assume it's due to all the demo examples maybe? Next question would be does it work well on mobile?

    Thank you.
     
  3. Thunderbyte

    Thunderbyte

    Joined:
    Aug 28, 2015
    Posts:
    71
    The way it works is you paint your rust/dust/material masks the way you'd paint smoothness or metalness for example, and the shaders hook onto the masks and allow you to manipulate them.

    The shaders give you the option to add rust and dust procedurally without specific masks, but of course, masks will give you the best results since you can specify exactly how and where everything should be.

    The shaders and editor code weigh less 600kb, everything else comes from the demo scenes (mostly textures).

    I added youtube links to the first post. You can see how some of the shaders work. I made the mask textures used there by simply painting the corners and the hard edges for the rust. For the dust I painted all over the models but mostly the in cavities.

    If you have a house model available, I could demo it and post here.
     
    Last edited: Apr 4, 2018
  4. ThermodynamicsMakesMeHot

    ThermodynamicsMakesMeHot

    Joined:
    Feb 14, 2015
    Posts:
    222
    I am interested in the procedurally generated part with supplying the rust textures and doing it all by code rather than an art program. I am going to check these videos out later. I would love to see the difference as to what your speaking of "Procedurally vs Masks". I am far more at home in a IDE then an art program.

    With regards to a house...may I direct you to this package: WasteLand Lite -> Currently using the full package in a Project and would be very interested to see how this would work on some of those models.

    I totally understand it will always look better with texture masks but if it still looks reasonable good to scruff up buildings and whatnot I already have than it's going to be a must have tool for me.

    I have tried to do similar things with other ShaderPacks but it takes me so long :). I would much rather buy a premade shader :)

    Thank you very much for all the information and replies. If you happen to have time and can show off what it can do with that kit above I would be very happy to see what the results would be.
     
  5. Thunderbyte

    Thunderbyte

    Joined:
    Aug 28, 2015
    Posts:
    71
    I quickly threw around an example with a building facade :


    And added some dust/moss to one of the walls of that package. I used the existing model/textures/UVs.

    wasteland wall.png
     
  6. ThermodynamicsMakesMeHot

    ThermodynamicsMakesMeHot

    Joined:
    Feb 14, 2015
    Posts:
    222
    Thank you. I really like this and I know it will add that extra flare to make things look all the better. It looks really good.
     
  7. Thunderbyte

    Thunderbyte

    Joined:
    Aug 28, 2015
    Posts:
    71
    Glad to hear that :)
     
  8. Thunderbyte

    Thunderbyte

    Joined:
    Aug 28, 2015
    Posts:
    71
    Update : Reduced the package size by about half. Downloading/updating are now less tedious.
     
  9. Thunderbyte

    Thunderbyte

    Joined:
    Aug 28, 2015
    Posts:
    71
    Added a faster version of the shaders. Useful for low spec targets and mobile.
    Update is live !
     
  10. Thunderbyte

    Thunderbyte

    Joined:
    Aug 28, 2015
    Posts:
    71
    Update :
    Added control settings to the blending mask for all shaders.
     
  11. Artaani

    Artaani

    Joined:
    Aug 5, 2012
    Posts:
    404
    Hello, it looks amazing! Seems like a revolution in creation of weared objects.
    I have a couple of questions:

    1. Is UV required? The shader will work it the mesh have no UV? I mean if UV value for all vertices will be 0 0.
    2. Will it work in case if a mesh have intersections? Look an example below.

    2018-12-20 19_30_11-Window.png
    Note that first mesh consist of 3 cubes basically, while the second mesh does not have any faces inside.
    The shader for the first mesh will work as good as for the second mesh?
     
  12. Thunderbyte

    Thunderbyte

    Joined:
    Aug 28, 2015
    Posts:
    71
    Hi,
    1. You can get away with messy UVs if you only to use the procedural methods, ie. you can control how much dust there's on the top side of the mesh, the dust mask, the rust, tiling, contrast, levels, etc. And if you the UVs are not too bad, you can get somewhat good results even if the UV shells are overlapping.
    If you want really good dust/rust patterns (in the crevasses, edge wear, scratches etc.), you need to paint a mask and feed it to the shaders. Then you can get greater control over everything. In that case, you definitely need proper UVs.
    However, if all your vertices have a (0, 0) UV coordinate none of the methods will work unfortunately.

    2. If you have good UVs, intersecting meshes are not a problem.
     
    Artaani likes this.
  13. iddqd

    iddqd

    Joined:
    Apr 14, 2012
    Posts:
    396
    Looks great, bookmarked.