Bug with grass foliage

Hi. I’m trying to make a scene with a small hill, and some grass on it. I put the grass using the foliage tool, but I got a see-through grass. Here is a screenshots with my material setup:



Does anyone have an idea of how I can fix this?
Thanks,

Hey ,

You are going to want to change you material’s ‘Blend Mode’ to ‘Masked’ instead of ‘Translucent’.

This will open a pin in the Material Properties, ‘Opacity Mask’. Take the alpha channel of your Diffuse texture sample and connect that with the opacity mask input.

Cheers,