Godrays Rimlight/Aura using materials

Ah yeah the shadow pass switch node only works on masked materials I think, so that would be the issue in that case. Youd have to switch your opaque material to masked