Drawing lines in shader?

   2303   1   1
User Avatar
Member
23 posts
Joined: Aug. 2013
Offline
Hi,

I apologize in advance for the vague question, but maybe someone could give me some hints.

Is there any possibility to draw a random line on a surface in shader (VOP/VEX)? I'm trying to come up with something like a scratch shader and really want to try procedural options.

So I'm talking about something like a really fine line with random orientation and length, maybe taking a point cloud as a source of line centers, but I'm not sure about that.

Point cloud lookups did not give me very good results and right there I'm out of ideas Maybe there are some useful functions?

Thank you.
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Maybe one way is to use multiple Vooroni pattern node in the VEX network , Just you should create custom network to detect edges , or maybe you should pass this pattern to the COP network and use Detect Edge node on it , Then return final result to the Shader !
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
  • Quick Links