# Grungit : 1-click wear and tear for Blender

**URL:** <https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208>\
**Category:** Released Add-ons and Extensions\
**Tags:** add-ons, commercial, blender2-80, texturing\
**Created:** [December 20, 2019, 1:36pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208 "2019-12-20T13:36:23Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![TheMask](https://blenderartists.org/letter_avatar_proxy/v4/letter/t/a8b319/32.png) [@TheMask](https://blenderartists.org/u/TheMask)\
**Post date:** [January 4, 2020, 6:46am UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/21 "2020-01-04T06:46:40Z")

</div>

that’s such a great addon, well thought out and furthermore a real time saver.  
it really is as good as other people say it is.

i’d like to make a few proposals though, if that’s alright.

presets would be neat to have.

and maybe the ability to put your own custom texture masks in, without digging through node groups.  
either with exposed parameters or even preview thumbnails. don’t know how hard that be to implement though.

anyways, once again, i really dig that addon! please keep up the great work!

btw. could you update the gumroad link aswell? got it from there instead of the Blender Market and am stuck with the v1.4.3 experimantal.

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 4, 2020, 12:16pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/22 "2020-01-04T12:16:08Z")

</div>

Thank you! I’m really glad to hear you are enjoying it 😄

> [@TheMask](#):
>
> presets would be neat to have.

Actually I was just experimenting with thumbnails and the interface in order to create a preset system! I’m leaving it aside for a while as I need to focus on supporting multiple objects at once, but I’ll get back to it as soon as that is done

 ![thumbs](https://blenderartists.org/uploads/default/original/4X/9/e/e/9eeca061ea648f7e14cec649e1007d3c17836cb1.jpeg)

> [@TheMask](#):
>
> the ability to put your own custom texture masks in

Hmmm… That could be a bit tricky (I assume you’re talking about the scratch, grunge, and dirt textures used inside, not the manual masking feature that already exists [https://www.youtube.com/watch?v=bIYV3m5dg9s](https://www.youtube.com/watch?v=bIYV3m5dg9s) ). I could expose them, but that would make the nodes unnecessarily complicated for many users. Maybe I will have to split the nodes into a “simple” and “advanced” modes if it gets too complex, I will see.

> [@TheMask](#):
>
> btw. could you update the gumroad link aswell?

Yeah sorry about that, I forgot to update it there. You can get the latest version now

---

<div class="post-metadata">

**Author:** ![JollyJumper](https://blenderartists.org/letter_avatar_proxy/v4/letter/j/f04885/32.png) [@JollyJumper](https://blenderartists.org/u/JollyJumper)\
**Post date:** [January 4, 2020, 12:25pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/23 "2020-01-04T12:25:40Z")

</div>

> [@abdoubouam](#):
>
> Actually I was just experimenting with thumbnails and the interface in order to create a preset system!

Another great idea, my friend! 🤗

---

<div class="post-metadata">

**Author:** ![TheMask](https://blenderartists.org/letter_avatar_proxy/v4/letter/t/a8b319/32.png) [@TheMask](https://blenderartists.org/u/TheMask)\
**Post date:** [January 4, 2020, 2:48pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/24 "2020-01-04T14:48:39Z")

</div>

oh, that thumbnail stuff sounds nice!

> [@abdoubouam](#):
>
> Hmmm… That could be a bit tricky (I assume you’re talking about the scratch, grunge, and dirt textures used inside, not the manual masking feature that already exists [https://www.youtube.com/watch?v=bIYV3m5dg9s](https://www.youtube.com/watch?v=bIYV3m5dg9s) ). I could expose them, but that would make the nodes unnecessarily complicated for many users. Maybe I will have to split the nodes into a “simple” and “advanced” modes if it gets too complex, I will see.

yes, i’m talking about the grunge, cracks, dirt etc. textures itself.  
exposing these parameters may have been the wrong description. more like having a category for picking your own textures in the main grungit window itself, if that makes sense.

for consistency, you could have these as preview thumbnails too and when you click on one of these, it’d execute the “open file” window where you could browse to your own ones.

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 4, 2020, 8:02pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/25 "2020-01-04T20:02:17Z")

</div>

I think exposing the textures outside the nodes would work better as it can allow me to switch between textures more easily, and it can also let you choose your own textures. However I need to make the preset system robust enough first so you wouldn’t need to open the shader editor at all for the simple settings, it can be intimidating for beginner/intermediate users

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 5, 2020, 10:31pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/26 "2020-01-05T22:31:38Z")

</div>

Grungit now supports multiple objects and multiple materials in v1.6Beta1  
If multiple objects share the same material, the UV’s of the faces that use the same material are packed together in the same texture space (see in the generated textures in the bottom right)  
Also I added the option to set the resolution to 512x512 and 256x256, which can be used if you have a lot of individual objects and materials  
A significant amount of code had to be edited/rewritten and there are probably many bugs when used with complex scenes. Make sure to save your file first and if you encounter any issue please don’t hesitate to report it so I can fix it.  
Download available on BlenderMarket and Grumroad

 ![Grungit_multi_object](https://blenderartists.org/uploads/default/original/4X/a/4/0/a409f74b7cc1f153999d927e467ea36e16565d56.jpeg)

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 7, 2020, 10:20pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/27 "2020-01-07T22:20:22Z")

</div>

I added a “Quick mode” for Grungit, very useful if you don’t need edge wear and cavity/AO dirt.  
The effect is applied instantaneously (except if you’re using EEVEE and apply it for the first time, you need to wait for the shaders to be recompiled again)

Feature available in the latest version (1.6 beta 2)

---

<div class="post-metadata">

**Author:** ![Veezen](https://blenderartists.org/user_avatar/blenderartists.org/veezen/32/512558_2.png) [@Veezen](https://blenderartists.org/u/Veezen)\
**Post date:** [January 8, 2020, 10:05pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/28 "2020-01-08T22:05:09Z")

</div>

@abdoubouam I finished today my gun design and I used your addon for textures, but I modified a lot in node tree 🙂 Anyway thanks! It was very helpful especially with my goals to finish everything inside Blender, without using Substance Painter.

 ![image](https://blenderartists.org/uploads/default/original/4X/a/4/e/a4e413a867adfae42fd2604d62a67b61142165ee.jpeg)

You can find more on ArtStation :\>

> [@VEE-SG200, Gun Design](https://blenderartists.org/t/vee-sg200-gun-design/1200302):
>
> Today I finished my another personal project, weapon design slight_smile Everything was done inside Blender. Textures are 50/50 procedural, and I used Grungit addon which helped me in that part. Project was started to learn more about design but also about lighting in eevee. You can find more on ArtStation :\> [https://www.artstation.com/artwork/aRPoaR](https://www.artstation.com/artwork/aRPoaR)

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 9, 2020, 12:11am UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/29 "2020-01-09T00:11:05Z")

</div>

That looks epic! 😮

---

<div class="post-metadata">

**Author:** ![VARRYUS](https://blenderartists.org/user_avatar/blenderartists.org/varryus/32/616480_2.png) [@VARRYUS](https://blenderartists.org/u/VARRYUS)\
**Post date:** [January 9, 2020, 7:46pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/30 "2020-01-09T19:46:45Z")

</div>

Hey there! I too can only recommend you work! Smooth, sleek and great output! What is your favourite comm channel for receiving feedback as I found some cases were the addon struggled that may be totally my fault but may interest you aswell. Again: the addon i was waiting for! ❤❤

+1 for Custom Textures (thinking direction Surface Imperfections/ Fingerprints)

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 9, 2020, 11:49pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/31 "2020-01-09T23:49:36Z")

</div>

Thanks, I’m to hear you loved it!

> [@VARRYUS](#):
>
> What is your favourite comm channel for receiving feedback

You can write a public reply here if you can share the images of your scene, that way people who had the same problems can find it.  
If it’s not an option, you can send me a DM here, on ArtStation or on Twitter

---

<div class="post-metadata">

**Author:** ![dimitribastos](https://blenderartists.org/user_avatar/blenderartists.org/dimitribastos/32/42671_2.png) [@dimitribastos](https://blenderartists.org/u/dimitribastos)\
**Post date:** [January 11, 2020, 7:14pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/32 "2020-01-11T19:14:38Z")

</div>

I have a couple of questions:

1- can I have custom textures? For instance, I want to change some of the fine details created by some grunge/noise of Grungit using my own texture. Is it possible?

2- It works with an already UV mapped mesh?

---

<div class="post-metadata">

**Author:** ![blndrusr](https://blenderartists.org/letter_avatar_proxy/v4/letter/b/91b2a8/32.png) [@blndrusr](https://blenderartists.org/u/blndrusr)\
**Post date:** [January 11, 2020, 8:14pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/33 "2020-01-11T20:14:19Z")

</div>

Hey @abdoubouam , do you use Bevel and Ambient Occlusion nodes, or other tricks for edge detection?

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 11, 2020, 10:06pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/34 "2020-01-11T22:06:25Z")

</div>

> [@dimitribastos](#):
>
> 1- can I have custom textures?

Yes. There is no interface for that yet, but you can replace images [https://youtu.be/M1MbfGK8tzk](https://youtu.be/M1MbfGK8tzk) , and if you want more control you can edit the nodes inside.

> [@dimitribastos](#):
>
> 2- It works with an already UV mapped mesh?

Yes, it works even better and faster if it already has UV’s. Just make sure to uncheck “(Re)create UV maps” first

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 11, 2020, 10:08pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/35 "2020-01-11T22:08:37Z")

</div>

I used a mix of inverted ambient occlusion and bevel nodes, and also normal AO node(s) to generate the masks

---

<div class="post-metadata">

**Author:** ![blndrusr](https://blenderartists.org/letter_avatar_proxy/v4/letter/b/91b2a8/32.png) [@blndrusr](https://blenderartists.org/u/blndrusr)\
**Post date:** [January 11, 2020, 10:12pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/36 "2020-01-11T22:12:30Z")

</div>

That’s a pity, I hoped it could be used with Optix which does not support these nodes. Thanks for explaining.

---

<div class="post-metadata">

**Author:** ![VARRYUS](https://blenderartists.org/user_avatar/blenderartists.org/varryus/32/616480_2.png) [@VARRYUS](https://blenderartists.org/u/VARRYUS)\
**Post date:** [January 12, 2020, 1:17pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/37 "2020-01-12T13:17:17Z")

</div>

**Failing Grunge-Map Bake without Error:**  
Sometimes I can’t get it to bake the Grunge-Map. The mesh is not too complex and the UV-Map is good. Still - the Grunge-Map turns out black everytime. Also did make sure the mesh is manifold. On other meshes in the same project it works flawless, and i have no clue what the failure-condition might be. What makes the bake fail without an error message? What to look out for? Also: Am using the 1.6b (newest beta) version and CUDA.

**Multiple Objects**  
I get good results joining Objects and do the Map-Baking treating them as one mesh - so the occlusion parameter works perfectly. Is it possible to get the same outcome without joining the objects? I was hoping multiple object support might do this magic trick. Maybe I am missing something. Often I build stuff from multiple objects just aligned that should occlude each other grunge-wise but I’d love to keep them seperate.

---

<div class="post-metadata">

**Author:** ![VARRYUS](https://blenderartists.org/user_avatar/blenderartists.org/varryus/32/616480_2.png) [@VARRYUS](https://blenderartists.org/u/VARRYUS)\
**Post date:** [January 12, 2020, 1:23pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/38 "2020-01-12T13:23:38Z")

</div>

Found one of my mistakes: The object with the failed bake was invisible to the camera and all other raytracing stuff, but visible for the viewport.

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 12, 2020, 3:04pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/39 "2020-01-12T15:04:56Z")

</div>

> [@VARRYUS](#):
>
> The object with the failed bake was invisible to the camera and all other raytracing stuff, but visible for the viewport.

That makes sense, I’m glad you sorted it out. Let me know if you encounter any other issues.

> [@VARRYUS](#):
>
> so the occlusion parameter works perfectly

So currently the occlusion only affects each object individually, and you want it to be affected by everything, otherwise you are not having any “errors” when using it on multiple objects, is that correct?  
The “combined AO” is more intuitive and useful, I will include that in the next update. Thanks a lot for the suggestion!

---

<div class="post-metadata">

**Author:** ![abdoubouam](https://blenderartists.org/user_avatar/blenderartists.org/abdoubouam/32/34378_2.png) [@abdoubouam](https://blenderartists.org/u/abdoubouam)\
**Post date:** [January 12, 2020, 3:20pm UTC](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208/40 "2020-01-12T15:20:44Z")

</div>

> [@blndrusr](#):
>
> Optix […] does not support these nodes.

I’m sad to hear that, do you know if it’s just temporary and will be fixed in 2.82/2.83, or it’s an Optix limitation and it can’t be used ?  
Also does it automatically switch to CUDA/CPU, or it simply doesn’t work? I can add a way to detect if you are using Optix and make it temporarily switch to CUDA until the initial mask bake is done, which is the only time when AO and Bevel is used. After that it switches to the baked image and it doesn’t use these nodes at all and that’s why it works with EEVEE.  
You won’t get the speed advantage over CUDA (yet) **only** when you apply it to a model for the first time, but after that Optix will work fine, if it handles the basic nodes correctly

[Previous page](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208.md?page=1)

[Next page](https://blenderartists.org/t/grungit-1-click-wear-and-tear-for-blender/1197208.md?page=3)
