How to mask flat & convex surfaces

Question Materials and Textures

Hello:) Theoretical question. Let's say I want to create a brick wall with an actual geometry and I want to shade it using one material. So I need to mask somehow this brick wall, separating it's flat surface (where the concrete is ) & convex surface (bricks). Is there a way to do it using geometry / normal/ coordinates info?

For example, I was able to simulate this masking with the gradient node, but this doesn't feel right at all

  • Marfa Razmakhova(marfa.out) replied

    8-05 at 17.56.03.png

  • Martin Bergwerf replied

    HI Marfa @marfa.out ,

    You're close with using a Gradient Texture, this here is basically a Gradient set to Constant::

    Bricks.png

    There are many ways to achieve something like this, and this is one of them.

    1 love