Sensor Looks: Thermal, Night Vision and X-ray
- ..
- .metadata92 B
- README.md2.5 KB
- block.yaml2.8 KB
README.md
Night vision: gen 2 green (styleBlock, Colour)
Gen-2 night vision, the generation between the grainy first tubes and modern gen 3: a green picture with visible grain and honeycomb, a little soft toward the edge, and wide halos round lights. The classic cold-war and police tube.
It is one of the seven night vision blocks; all run the nightVision shader with their own defaults, so any one swaps for another in the Colour slot with one change. Put an optic (opticsMonocular, opticsBinocular, opticsQuad, opticsScope) in the Medium slot to see it through a tube.
local Sensors = require("~sensorBlocks.Sensors")
Sensors.use("nvGen2Green") -- on this machine only (your goggles)
Sensors.use("gen2NightVision") -- the ready-made look: gen 2 through a monocular
What it gives up in motion
Amplified light moves with the scene, so nothing slides. The grain is coarser than gen 3's and changes every frame per pixel, a noise rather than a flicker. The automatic gain is measured fresh each frame from fixed points of the picture, so it follows a light coming into view at once instead of pumping. A flash washes the picture out and it recovers over about a second and a half; the runtime lets at most three of those begin in any second. The honeycomb is fixed to the screen, as on a real tube, and the edge of the tube stays softer than its middle.
How it treats content
- Opaque things: their light amplified, plus the illuminator near and ahead.
- Transparent things (glass, water): their light like anything else; a lamp behind glass still blooms into a wide halo.
- Particles and smoke: bright particles (fire, sparks, muzzle flashes) bloom into wide halos.
- Sky: a moonlit sky turns a bright green; a black sky stays the phosphor's floor.
- Fog: lit fog brightens and flattens the picture, as it does through real goggles.
- Skinned characters: like any surface, with their role marked so players and enemies read apart.
- Foliage: leaves read brighter (near infrared).
- World text: amplified like the rest and readable when lit, a little soft toward the edge of the tube; screen UI is drawn after the stack and is never touched.
- Black does not stay black: an intensifier makes visible what the eye could not see.
Known limits
- Like every night vision block it amplifies the light the scene already has; a scene with no light at all relies on the goggles' illuminator.
- The sensorBlocks package README Known limits lists the rest.