Shadows for transparent textures

A second question in this context would be: when I create a cube in a scene, the back cubes are actually hidden. However, when I use a PNG texture that has transparent areas (for the grass), grass behind it is sometimes drawn in front of the foreground grass. Do I need to enable different depth checks compared to the cube, just because I’m using transparent textures?