I'm looking for a way to soften the edge of a pathway. I was hoping to use the DIRT procedural as an opacity node on the edges. However with no detail and just a flat poly there is no DIRT layer that the proc. creates.
Any other ideas of how to do this? We use to have a shader in Native LW that would color the EDGES it was called eeGrit and Anything Goos.
Edge Opacity Procedural
Moderator: juanjgon
- 3dreamstudios
- Posts: 479
- Joined: Fri Apr 03, 2015 8:55 pm
If I bevel up the path giving me more edge at the corners, I can begin to get the dirt shader to recognize an edge and begin shading.
However if I run this into a material mixer or Opacity input I'm not getting any results. If I run the output of the Dirt into a ColorCorrect and INVERT the texture I get exactly opposite of what I want (edge2.jpg) One would think that without the invert I would get what I'm looking for...but all I get is black edges...What gives?
However if I run this into a material mixer or Opacity input I'm not getting any results. If I run the output of the Dirt into a ColorCorrect and INVERT the texture I get exactly opposite of what I want (edge2.jpg) One would think that without the invert I would get what I'm looking for...but all I get is black edges...What gives?
- FrankPooleFloating
- Posts: 1669
- Joined: Thu Nov 29, 2012 3:48 pm
edit: LWG solved 

Last edited by FrankPooleFloating on Sat Mar 11, 2017 1:03 pm, edited 1 time in total.
Win10Pro || GA-X99-SOC-Champion || i7 5820k w/ H60 || 32GB DDR4 || 3x EVGA RTX 2070 Super Hybrid || EVGA Supernova G2 1300W || Tt Core X9 || LightWave Plug (v4 for old gigs) || Blender E-Cycles
- LightwaveGuru
- Posts: 487
- Joined: Wed Jun 25, 2014 9:34 am
- Location: Germany
- Contact:
3dreamstudios wrote:If I bevel up the path giving me more edge at the corners, I can begin to get the dirt shader to recognize an edge and begin shading.
However if I run this into a material mixer or Opacity input I'm not getting any results. If I run the output of the Dirt into a ColorCorrect and INVERT the texture I get exactly opposite of what I want (edge2.jpg) One would think that without the invert I would get what I'm looking for...but all I get is black edges...What gives?
go with the "tolerance" parameter in the dirt node up and see whats done!
snip lwguru
http://www.neotek.laboratories.de or http://www.youtube.com/c/Lightwaveguru or http://www.facebook.com/safarifx 4x Titan X 12 GB watercooled / 6x 2080 ti air cooled / 2x 980 ti watercooled
- 3dreamstudios
- Posts: 479
- Joined: Fri Apr 03, 2015 8:55 pm
I'm happy to hear both of you are seeing results, however I played again with every parameter in many different values and cannot get an edge opacity to be visible. Any chance either of you could adjust the parameters in this test scene to show me the values you are wanting me to try?LightwaveGuru wrote:3dreamstudios wrote:If I bevel up the path giving me more edge at the corners, I can begin to get the dirt shader to recognize an edge and begin shading.
However if I run this into a material mixer or Opacity input I'm not getting any results. If I run the output of the Dirt into a ColorCorrect and INVERT the texture I get exactly opposite of what I want (edge2.jpg) One would think that without the invert I would get what I'm looking for...but all I get is black edges...What gives?
go with the "tolerance" parameter in the dirt node up and see whats done!
snip lwguru
Or screen grab on your side? My path is showing 30'x7'x2" ( I don't care about the height, as I really don't want it but that's the only way I've got any edge out of the dirt node)
Thank you in advance!
- Attachments
-
- edge-opacity.zip
- (5.96 KiB) Downloaded 238 times
- FrankPooleFloating
- Posts: 1669
- Joined: Thu Nov 29, 2012 3:48 pm
I didn't try it, and only assumed it worked, because LWG said so. I originally suggested you just do this with UVs and get on with your dang life. 

Win10Pro || GA-X99-SOC-Champion || i7 5820k w/ H60 || 32GB DDR4 || 3x EVGA RTX 2070 Super Hybrid || EVGA Supernova G2 1300W || Tt Core X9 || LightWave Plug (v4 for old gigs) || Blender E-Cycles
- 3dreamstudios
- Posts: 479
- Joined: Fri Apr 03, 2015 8:55 pm
Yea you would think if LWG had a fix it would work. Maybe he was just guessing at the Tolerance...not sure. It doesn't do anything for me, nor do any of the other options for this technique. Life has moved forward, just wanting to learn for the next time! Thanks though.FrankPooleFloating wrote:I didn't try it, and only assumed it worked, because LWG said so. I originally suggested you just do this with UVs and get on with your dang life.

- 3dreamstudios
- Posts: 479
- Joined: Fri Apr 03, 2015 8:55 pm
That's not bad! I was hoping to have some separate geometry that I could just push and pull around as needed on top of the layer I'm wanting to have fade through. Keeps the model cleaner in some ways for changes. But may look at doing what you've done here.alexos wrote:Not sure I understand your problem, but in order to get the dirt node to work perhaps you should try the other way round, beveling the surrounding polygons rather than the path? Like so...
ADP.
Thanks for the feedback.