arcticSurface
The one shader every arcticMaterials look draws with. `style` picks the look (0 realistic PBR, 1 painted, 2 cartoon, 3 lowpoly flat colour faceted, 4 pixel point-sampled, 5 unlit), all from the same albedo, normal and mask maps, so stylised looks cost no extra texture memory. Ver…
arcticSurface
The one shader every arcticMaterials look draws with. style picks the look (0 realistic PBR, 1 painted, 2 cartoon, 3 lowpoly flat colour faceted, 4 pixel point-sampled, 5 unlit), all from the same albedo, normal and mask maps, so stylised looks cost no extra texture memory. Vertex colour RGB multiplies the albedo in every look and vertex alpha weights wind sway when compliance is above 0 (the forestProps / arcticProps contract). projection 1 places maps by world position in metres (triplanar, image-up = world +Y on the sides), 0 reads mesh UVs. depth above 0 draws clear ice: depth_texture seen that far below along the refracted view ray, absorbed with distance, with mid-depth bubbles. snow_amount lays snow on up-facing parts. emissive_color x emissive_intensity adds glow (the lit hut window).
Scoped to this part · feeds back into the world's score.