back when i did the x-ray render i actually weighted all the internals to work mostly at any angle, gonna be posing a small loop to show that off in a few hours,
there's also a little pic on how this shader works, the additional node comes down from my main colour BSDF mixed with the shader and is managed by a transmission light path, all the magic is done when viewed through a glass plane ^^