Sensor Looks: Thermal, Night Vision and X-ray
- ..
- .metadata89 B
- README.md517 B
- preview.png2.0 KB
- properties.yaml138 B
- shader.wgsl927 B
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.