fixes to uvs

wip on custom chunk shader
This commit is contained in:
2024-04-02 23:31:45 -04:00
parent 83dbf82478
commit 0bcf65b0b1
5 changed files with 79 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ pub fn generate_chunk(chunk_x: f64, chunk_z: f64, cfg: &GenerationConfig, seed:
&cfg,
&noise,
);
result[x + z * Chunk::SIZE] = sample.floor();
result[x + z * Chunk::SIZE] = sample;
}
}
return Chunk {