Why does this glass material not darken in shadow?

I removed that section and the issue persists: