High-res ore textures: gold, silver, ruby and diamond as lumps in the earth, no veins

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-07 21:32:00 +01:00
1 parent 9df16607ed
commit 50f8af15c7
31 files changed
+58 -32

No files matched your search

+2 -2
View File
@@ -810,8 +810,8 @@ fn build_chunk(map: &Map, amb: &[f32], glow: &[f32], cx: i32, cz: i32, atlas: &T
if t.kind == Kind::Mushroom && t.res & MUSH_GROVE != 0 {
tex = crate::gfx::T_MOSS + (t.var as u32 & 3);
}
if hd && crate::gfx::hd_tile(tex) {
tex = tex / 4 * 4 + (x & 1) as u32 + (z & 1) as u32 * 2;
if hd {
tex = crate::gfx::hd_tile(tex, x, z);
}
let (ua, ub) = cell_uv(tex);
let (xf, zf) = (x as f32, z as f32);