Textures
The photoscanned ground and rock texture sets the caves are made of, each with its colour, normal and surface maps.
Art in progressThe only textures in the game are the stone of the caves, read from
crates/client/assets/textures/ when the site is built. Each set has three maps: albedo (the
colour), a normal map (the bumps, green pointing up) and ARM (ambient occlusion, roughness and
metalness in the red, green and blue channels). The client loads them as three array textures,
one layer per set, and blends them on the floor and walls (cave::stone_textures). Monsters,
the party and props carry no textures: see Models. The
asset explorer shows each map's channels alone and each set lit on a sphere or
a plane.
Cliff side
See the set lit, and each map's channels, in the explorer
Art in progresscliff_side_diff_1k.jpg
Art in progresscliff_side_nor_gl_1k.jpg
Art in progresscliff_side_arm_1k.jpg
Rock boulder cracked
See the set lit, and each map's channels, in the explorer
Art in progressrock_boulder_cracked_diff_1k.jpg
Art in progressrock_boulder_cracked_nor_gl_1k.jpg
Art in progressrock_boulder_cracked_arm_1k.jpg
Rock ground
See the set lit, and each map's channels, in the explorer
Art in progressrock_ground_diff_1k.jpg
Art in progressrock_ground_nor_gl_1k.jpg
Art in progressrock_ground_arm_1k.jpg
From crates/client/assets/textures/README.md, Textures
Photoscanned texture sets from Poly Haven, all under
CC0 1.0 (public domain: no attribution
required; credited here anyway). Downloaded at 1K as JPG, unmodified, and embedded in the binary.
cave::stone_textures loads them into three array textures (albedo, normal, ARM), one layer per
set, with mipmaps built at startup.
Each set has three maps: _diff (albedo, sRGB), _nor_gl (normal map, OpenGL convention: green
points to the top of the image) and _arm (linear: R ambient occlusion, G roughness, B metalness).
| Layer | Files | Poly Haven asset | Size on the ground | Authors | Used for |
|---|---|---|---|---|---|
| 0 ground | rock_boulder_cracked_{diff,nor_gl,arm}_1k.jpg |
Rock Boulder Cracked | 1.39 m | Dimitrios Savva, Dario Barresi | the Cinder floor's cracked rock |
| 1 dust | rock_ground_{diff,nor_gl,arm}_1k.jpg |
Rock Ground | 1.5 m | Rob Tuytel | dust and gravel blended over it |
| 2 rock | cliff_side_{diff,nor_gl,arm}_1k.jpg |
Cliff Side | 1.83 m | James Ray Cock, Dario Barresi, Jenelle van Heerden | the walls and rock props (triplanar) |
Licence: CC0 1.0 Universal, https://polyhaven.com/license.