KeyShot Forum

Technical discussions => Textures => Topic started by: De_Hupie on August 25, 2018, 05:55:35 AM

Title: Normal shader texture node (used for masking sand, snow etc)
Post by: De_Hupie on August 25, 2018, 05:55:35 AM
Is it possible to mask a material/texture using the normal vector of the geometry of the model? E.g. i want to add snow or sand only on areas of my model that face upwards.
Title: Re: Normal shader texture node (used for masking sand, snow etc)
Post by: Will Gibbons on August 28, 2018, 10:46:34 AM
Quote from: De_Hupie on August 25, 2018, 05:55:35 AM
Is it possible to mask a material/texture using the normal vector of the geometry of the model? E.g. i want to add snow or sand only on areas of my model that face upwards.

I've done this using the material graph. I used an occlusion texture node and connected it to the opacity of the material I wish to mask out. I then set the bias numbers to favor the direction I wanted to see the material. It'll take some playing with the settings though as each scene and scenario is different.
Title: Re: Normal shader texture node (used for masking sand, snow etc)
Post by: bharris on August 28, 2018, 11:01:17 AM
A simple 'normal' material would be really awesome.