prop_glow.shader
- .metadata17 B
- README.md592 B
- preview.png2.0 KB
- properties.yaml1.1 KB
- shader.wgsl2.2 KB
README.md
art.prop_glow
Surface shader for Smog's generated props. Samples the prop's own albedo, normal and packed roughness/metal maps (glTF packing: G roughness, B metal) on mesh UVs, then:
metal_scaledamps the generator's habit of painting everything as metal;coatlays a rain film over it;glow_*lights only bright texels (glow_lum_lo..glow_lum_hiluminance) between world heightsglow_min_yandglow_max_y, with a per-position flicker: a gas lamp's glass panes glow, its iron frame does not.
Used by the art/props/*.material set the district and gasworks spawn.