mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add entities renderer tint support
This commit is contained in:
parent
fba0bca0dc
commit
0c4cdeaa87
6 changed files with 62 additions and 42 deletions
|
|
@ -99,8 +99,8 @@ void SkeletonConfig::render(
|
|||
}
|
||||
model = modelOverride.model ? modelOverride.model : model;
|
||||
if (model) {
|
||||
batch.draw(
|
||||
skeleton.calculated.matrices[i], model, &skeleton.textures);
|
||||
batch.draw(skeleton.calculated.matrices[i], glm::vec3(1.0f), model,
|
||||
&skeleton.textures);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue