optics.shader
- .metadata111 B
- README.md581 B
- preview.png12.7 KB
- properties.yaml1.5 KB
- shader.wgsl3.9 KB
README.md
optics (shader)
The shader every sensorBlocks optics block runs (Medium slot): the eyepieces of the device. tubes 1 draws a monocular, 2 binoculars, 4 four-tube panoramic goggles, 0 a rifle scope. Each tube darkens toward its rim, bends the picture a little (distortion) and can carry a reticle (1 crosshair with posts, 2 mil-dots, 3 a chevron). Everything outside the tubes is the housing colour.
Known limits
- The tubes are drawn over the whole frame; the picture inside is the same picture, not a second camera per tube.
- See the sensorBlocks README for the rest.