Using a heightfield as input, this will return a slope mask based on the angles you set. Also has falloff controls.

Great for texturing rocks, terrain, or other surfaces that vary on their edges or slopes.

There are two graphs included: Get Slope and Height Selector. The slope pixel processor generates a slope texture where black pixels on the resulting greyscale map are considered flat planes and white pixels are considered vertical angles. The Height Selector isolates pixels in a greyscale heightmap based on their value. Useful for when you want to texture the "tops or bottoms" of a heightmap. I use the height selector to isolate angles in that slope map that you want to output.

The slope generator won't give great results if you feed really high contrast greyscale maps in there such as white noise. It also seems to fail on perfectly linear slopes created by the shape node. Just use the height selector on those.

Uploaded: about 2 years ago
Updated: about 2 years ago
Version: 3
File Name: Get_Slope.zip
Size: 40 KB

DownloadblackDOWNLOAD



DISCUSS
about 2 years ago

This sounds interesting. Looking forward to giving it a go. Thanks


about 2 years ago

The .sbs is missing a dependency. HelperFunctions.sbs


about 2 years ago

Uploaded fixed version. Should be available soon.


about 2 years ago

This looks awesome! I can see myself using this a ton. Definitely going to give this a try. Thanks!


about 2 years ago

Perhaps I'm messing up, but I can get this filter to apply correctly, can anyone who's used it without a problem, just give me a quick rundown in how you used it? Thanks


about 2 years ago

Sorry! The fix is still pending approval. It is broken until then.


about 2 years ago

I have tried this in SP. it gives me an empty paint layer with this filter attached when I drag and drop the filter. but it does not seem to work as intended. does it work with SP? perhaps I did not download the fixed version.


about 2 years ago

Ok. It's updated and should work for everyone.


about 2 years ago

For some reason I can only download the XML file. Any tip for how to open/use it as a sbar/sbs?


about 2 years ago

i agree with marvinjfisher, i have the same problem.


about 2 years ago

please fix the file QuantumTheory, for some reason i can't download.


about 2 years ago

The Height Selector isolates pixels in a greyscale heightmap based on their value. Useful for when you want to texture the "tops or bottoms" of a heightmap. The slope pixel processor generates a slope texture where black pixels on the greyscale map are considered flat planes and white pixels are considered vertical angles. I use the height selector to isolate which angles in that slope map you want to output.

The slope generator won't give great results if you feed really high contrast greyscale maps in there such as white noise. It also seems to fail on perfectly linear slopes created by the shape node. Just use the height selector on those.


about 2 years ago

It worked fine for me. I just right clicked the Download link and it asked to save it as an SBS. I saved that, loaded it into Substance, and it works fine.

@QuantumTheory - What's the difference between the Get_Slope graph and the Height_Selector graph? They seem to do roughly the same thing but Get_Slope has two outputs and doesn't seem to make as clean of results as Height_Selector does (trying this just with a Plasma node to test). I get a big artifact line with GS but not with HS.


almost 2 years ago

This is fantastic!


about 1 year ago

When I download the file I only get the slope and not the Height selector. Am I missing something?


about 1 year ago

look usefull


9 months ago

Exactly what i was looking for!