Layer weights not defined

Hello fellow developers!

For a schoolproject, I’m trying to make a landscape shader. For this shader, I have used basic RGB materials. I’ve made a Material Function for masking the sand and one for masking rocks.

The material display is correct, but the debug layer is not affected. This is going to be important due to foilage placement.


Viewport view


Layer debug view

This is the material I’m using for this test material.

Can anyone help me fix this?

Kind regards,
Thomas