Log inGet started
Package

xray.shader

README.md

xray (shader)

The shader every sensorBlocks x-ray block runs. It reads the xray and xrayMetal inputs that XrayPass draws (every surface summed along each pixel's ray, walls seen edge-on counting more, and metal on its own) and makes one of five pictures (mode): 0 a medical film, 1 its negative, 2 an airport baggage scanner's false colours (organic orange, mixed green, metal blue), 3 a sci-fi see-through scan with glowing edges and an optional scan line, 4 a soft green live fluoroscope.

Known limits

  • It sums surfaces rather than measuring real density, so there are no bones inside a character unless the model has them; a character reads as its outline and folds.
  • See the sensorBlocks README for the rest.