✦
shader · drop-in viewer
asset⌬ shadershaderprimary: shader.wgsl·part ofpackage sensorBlocks.package·originates fromworld 144ba6da-a…
optics
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 retic…
by·posted 6d ago
What it does
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.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.