Geometry nodes

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
josephmcs
Posts: 30
Joined: Mon Feb 01, 2021 7:02 am

Geometry nodes

Post by josephmcs »

Hello,

I'm not quite sure I even have the vocabulary to ask this question, but I'll try.

Is there are way to separate out normals based on geometry? This would allow applying a material based on the z slope of the normals, for example.

Attached is a screenshot of what it looks like in Cycles. Plugging this setup into a mix node allows mixing two materials based on the steepness of the area they are applied to.

Thank you!
Attachments
Screen Shot 2021-04-07 at 6.46.34 PM.png
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Geometry nodes

Post by B.Y.O.B. »

You can do this by calculating the dot product of the shading normal and the up vector.
(the power operation is just used here to enhance the contrast)
Attachments
dsfggfd.PNG
slope.blend
(1.12 MiB) Downloaded 141 times
Post Reply