How sulikz/st-wearable-devices works
Wearable Devices is a STALKER Anomaly mod whose supplied runtime files are shader assets. Its visible rendering workflow is per-profile: CRT shaders sample device UI, optionally apply arc-field distortion, then add CRT patterning and screen effects. Other shader branches render arc-style gauges and body fills, tube glow, and deferred HUD surfaces. The tree and excerpts do not show how the game loads these shaders or how any script supplies their uniforms, so those connections are omitted.
Main entry points: r3/wd_crt.h CRT renderer · r2/wd_crt.h CRT renderer · wd_arc_field.h Arc field model · r1/wd_crt.h CRT renderer
Components 28
Shader profile R1
- CRT renderer
gamedata/shaders/r1/wd_crt.h - CRT input
gamedata/shaders/r1/wd_crt_input.h - UI sampling
gamedata/shaders/r1/wd_sample_ui.h - Arc gauge
gamedata/shaders/r1/wd_face_arc.h - Body fill
gamedata/shaders/r1/wd_body_fill.h - Nixie glow
gamedata/shaders/r1/wd_nixie_glow.h
Shader profile R2
- CRT renderer
gamedata/shaders/r2/wd_crt.h - CRT input
gamedata/shaders/r2/wd_crt_input.h - UI sampling
gamedata/shaders/r2/wd_sample_ui.h - Arc gauge
gamedata/shaders/r2/wd_face_arc.h - Body fill
gamedata/shaders/r2/wd_body_fill.h - CRT field effects
gamedata/shaders/r2/wd_screen_fx.h - Deferred HUD
gamedata/shaders/r2/wd_deffer_hud.h - Normal perturbation
gamedata/shaders/r2/wd_perturb_normal.h - Glass surface
gamedata/shaders/r2/wd_glass.h
Shader profile R3
- CRT renderer
gamedata/shaders/r3/wd_crt.h - CRT input
gamedata/shaders/r3/wd_crt_input.h - UI sampling
- Arc field model
gamedata/shaders/r3/wd_arc_field.h - Field hashing
gamedata/shaders/r3/wd_hash.h - CRT field effects
gamedata/shaders/r3/wd_crt_field.h - Screen effects
gamedata/shaders/r3/wd_screen_fx.h - Arc gauge
gamedata/shaders/r3/wd_face_arc.h - Body fill
gamedata/shaders/r3/wd_body_fill.h - Nixie glow
gamedata/shaders/r3/wd_nixie_glow.h - Deferred HUD
gamedata/shaders/r3/wd_deffer_hud.h - Normal perturbation
gamedata/shaders/r3/wd_perturb_normal.h - Glass surface
gamedata/shaders/r3/wd_glass.h
Connections 22
- CRT renderer → CRT input: uses input
gamedata/shaders/r1/wd_crt.h - CRT renderer → UI sampling: samples UI
gamedata/shaders/r1/wd_crt.h - Arc gauge → UI sampling: samples UI
gamedata/shaders/r1/wd_face_arc.h - Body fill → Arc gauge: uses gauge
gamedata/shaders/r1/wd_body_fill.h - Nixie glow → CRT input: uses field helpers
gamedata/shaders/r1/wd_nixie_glow.h - CRT renderer → CRT input: uses input
gamedata/shaders/r2/wd_crt.h - CRT renderer → UI sampling: samples UI
gamedata/shaders/r2/wd_crt.h - CRT renderer → CRT field effects: applies effects
gamedata/shaders/r2/wd_crt.h - Arc gauge → UI sampling: samples UI
gamedata/shaders/r2/wd_face_arc.h - Body fill → Arc gauge: uses gauge
gamedata/shaders/r2/wd_body_fill.h - Deferred HUD → Normal perturbation: perturbs normals
gamedata/shaders/r2/wd_deffer_hud.h - CRT renderer → CRT input: uses input
gamedata/shaders/r3/wd_crt.h - CRT renderer → CRT field effects: samples field
gamedata/shaders/r3/wd_crt.h - CRT renderer → Screen effects: applies effects
gamedata/shaders/r3/wd_crt.h - CRT renderer → UI sampling: samples UI
- CRT field effects → Arc field model: reads field
gamedata/shaders/r3/wd_crt_field.h - Arc field model → Field hashing: hashes bursts
gamedata/shaders/r3/wd_arc_field.h - Screen effects → Field hashing: hashes noise
gamedata/shaders/r3/wd_screen_fx.h - Arc gauge → UI sampling: samples UI
- Body fill → Arc gauge: uses gauge
gamedata/shaders/r3/wd_body_fill.h - Nixie glow → Arc field model: uses field helpers
gamedata/shaders/r3/wd_nixie_glow.h - Deferred HUD → Normal perturbation: perturbs normals
gamedata/shaders/r3/wd_deffer_hud.h