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:
1 parent
9df16607ed
commit
50f8af15c7
31 files changed
+58
-32
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user