Author Topic: Normal shader texture node (used for masking sand, snow etc)  (Read 1661 times)

0 Members and 1 Guest are viewing this topic.

Offline De_Hupie

  • Newbie
  • *
  • Posts: 1
Normal shader texture node (used for masking sand, snow etc)
« 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.

Offline Will Gibbons

  • Hero Member
  • *****
  • Posts: 2849
  • willgibbons.com
    • My Website
Re: Normal shader texture node (used for masking sand, snow etc)
« Reply #1 on: August 28, 2018, 10:46:34 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.

Offline bharris

  • Newbie
  • *
  • Posts: 35
Re: Normal shader texture node (used for masking sand, snow etc)
« Reply #2 on: August 28, 2018, 11:01:17 am »
A simple 'normal' material would be really awesome.