✦
shader · drop-in viewer
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:
by·posted 21d ago
What it does
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.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.