add 'grahics.advanced-render' and 'graphics.shadows-quality' settings
This commit is contained in:
@@ -189,8 +189,7 @@ void ChunksRenderer::drawChunksShadowsPass(
|
||||
|
||||
atlas.getTexture()->bind();
|
||||
|
||||
for (int i = indices.size()-1; i >= 0; i--) {
|
||||
auto& chunk = chunks.getChunks()[indices[i].index];
|
||||
for (const auto& chunk : chunks.getChunks()) {
|
||||
if (chunk == nullptr) {
|
||||
continue;
|
||||
}
|
||||
@@ -216,7 +215,6 @@ void ChunksRenderer::drawChunks(
|
||||
const auto& atlas = assets.require<Atlas>("blocks");
|
||||
|
||||
atlas.getTexture()->bind();
|
||||
update();
|
||||
|
||||
// [warning] this whole method is not thread-safe for chunks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user