Log inGet started
World

Sensor Looks: Thermal, Night Vision and X-ray

Branchmain
Commita92ee78fb2

README.md

xrayLayers (shader)

sensorBlocks internal surface shader for the x-ray passes (XrayPass): every surface draws into a screen image with additive blending, both sides and no depth test, so each pixel sums what lies along its ray (r: layers weighted toward surfaces seen edge-on, g: how many surfaces). The x-ray blocks read the result as the xray and xrayMetal inputs.

Known limits

  • It counts surfaces rather than measuring true thickness, so a thin hollow box and a solid one of the same size read alike.