In the 2020 version with the new Dirt shader, I wondered if there's a reason/fix for it adding a huge amount of processing to the render time. The older versions didn't do this (but of course it had less features).
I'm finding every texture I use it in (across all projects), especially if I play with the tolerance/details parameters or have multiple dirts in my mix, my render times go through the roof (easily doubled and tripled)!
Interested if the devs have any thoughts on this, or if anyone else has had this issue?
Using 4 x 2080ti's + Threadripper 2950x + 64GB RAM.
Dirt Shader Question / Bug
Moderators: ChrisHekman, aoktar
- AaronWestwood
- Posts: 141
- Joined: Sun Feb 26, 2017 3:01 pm
Last edited by AaronWestwood on Wed Aug 19, 2020 2:09 pm, edited 1 time in total.
3D Environment Artist
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
That’s the first i’ve heard of this. first, Is RTX on? Second if you have a scene in an older version that is showing 2-3x the perf for the same dirt shader output, could you share (orbx is best), so the devs can profile?
- AaronWestwood
- Posts: 141
- Joined: Sun Feb 26, 2017 3:01 pm
Thanks for getting back to me so quickly! This dirt thing has really been a thorn in my side since the 2020 version, should of really posted sooner.Goldorak wrote:That’s the first i’ve heard of this. first, Is RTX on? Second if you have a scene in an older version that is showing 2-3x the perf for the same dirt shader output, could you share (orbx is best), so the devs can profile?
Find reference image attached. Mixing a bunch of colours using 1. Falloff 2. Falloff and Dirt. You can see the Dirt version is 3-4x longer. So working with big landscapes where im mixing normals, various ao maps, textures etc, this can make the difference of a 30second render to a 5 minute one....simply because of dirt.
RTX on or off didn't influence results, im working with RTX on though.
3D Environment Artist
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
- AaronWestwood
- Posts: 141
- Joined: Sun Feb 26, 2017 3:01 pm
Heres the .orbx
Very curious if you get the same results
Very curious if you get the same results

- Attachments
-
- DIRT_ISSUE.orbx
- (17.72 MiB) Downloaded 130 times
3D Environment Artist
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
Hi Aaron,
it seems that you have shared the orbx of the version without Dirt node, do you mind to share the scene again, but with Dirt nodes connected? ciao Beppe
it seems that you have shared the orbx of the version without Dirt node, do you mind to share the scene again, but with Dirt nodes connected? ciao Beppe
- AaronWestwood
- Posts: 141
- Joined: Sun Feb 26, 2017 3:01 pm
Oops, see attached! Thanks so much for the quick response. Keen for your findingsbepeg4d wrote:Hi Aaron,
it seems that you have shared the orbx of the version without Dirt node, do you mind to share the scene again, but with Dirt nodes connected? ciao Beppe

- Attachments
-
- DIRT_ISSUE_CONNECTED.orbx
- (17.73 MiB) Downloaded 116 times
3D Environment Artist
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
Hi Aaron,
thanks for sharing the scene.
Please consider that the Dirt node is a live node, and the calculation depends from the complexity of the geometry nodes involved.
Since it is related to geometry, if animated, the dirt node will be automatically updated.
So, the scene needs ~7” to be calculated without Dirt, if we add a single Dirt node, 4/5” are necessary to calculate the Dirt for this geometry node, so the rendering time grows to 12”: If we add teo more Dirt nodes, the rendering time grows to 7+4+4+4= 19”: But, if the geometry is not animated, and you don’t need a live version of the Dirt node, you can always bake it, by copying the Dirt nodes into a Diffuse mat, with Baking Camera active: And replace the Dirt nodes with the Baked textures, to go back to the original 7” rendering time: Here is the modified .orbx scene: Obviously, you can do the same also with c4doctane.
ciao Beppe
thanks for sharing the scene.
Please consider that the Dirt node is a live node, and the calculation depends from the complexity of the geometry nodes involved.
Since it is related to geometry, if animated, the dirt node will be automatically updated.
So, the scene needs ~7” to be calculated without Dirt, if we add a single Dirt node, 4/5” are necessary to calculate the Dirt for this geometry node, so the rendering time grows to 12”: If we add teo more Dirt nodes, the rendering time grows to 7+4+4+4= 19”: But, if the geometry is not animated, and you don’t need a live version of the Dirt node, you can always bake it, by copying the Dirt nodes into a Diffuse mat, with Baking Camera active: And replace the Dirt nodes with the Baked textures, to go back to the original 7” rendering time: Here is the modified .orbx scene: Obviously, you can do the same also with c4doctane.
ciao Beppe
Separately from Beppe’s suggestion, i am having a look into why 2020 would be slower than 2019 and what we can do to fix.
- AaronWestwood
- Posts: 141
- Joined: Sun Feb 26, 2017 3:01 pm
Thankyou both for you replies, thats really interesting Bepeg. So it seems it is working as intended (?)Goldorak wrote:Separately from Beppe’s suggestion, i am having a look into why 2020 would be slower than 2019 and what we can do to fix.
Currently im using the dirt node on 8k displaced displacement maps.....which is absolutely brutal to the render time.
So I guess baking is the current solution, although undesirable as it adds so many steps to something which involves constant tweaking/baking/tweaking/etc.
Would an option be to add a legacy Dirt node for a more simple approach (2019 version), or add a baking command into the dirt node to lock it (I know NOTHING about coding if this is even possible)?
Thanks again, loving the back and forth.
3D Environment Artist
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
http://www.artstation.com/aaronwestwood
2 x 4090 // 13900KS // 96GB 5600mHz DDR5 // Windows 11
Hi Aaron,
We have been testing your scene with the latest 2020.1.4 build as well as 2019.1.5 and could in fact experience the performance drop you are talking about.
We will be looking into some optimizations to be able to bring the old performance back soon, in the meantime there is a workaround that might be useful: if you limit the amount of dirt nodes per material tree to just a single one the performance should be pretty much the same if not equal to that you saw in 2019.
Hope that helps.
We have been testing your scene with the latest 2020.1.4 build as well as 2019.1.5 and could in fact experience the performance drop you are talking about.
We will be looking into some optimizations to be able to bring the old performance back soon, in the meantime there is a workaround that might be useful: if you limit the amount of dirt nodes per material tree to just a single one the performance should be pretty much the same if not equal to that you saw in 2019.
Hope that helps.