mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
disable mip-mapping for canvas texture
This commit is contained in:
parent
5b49c72d12
commit
3a203bd4b0
6 changed files with 14 additions and 7 deletions
|
|
@ -114,7 +114,7 @@ void PrecipitationRenderer::render(
|
|||
|
||||
batch->begin();
|
||||
auto& texture = assets.require<Texture>(weather.fall.texture);
|
||||
texture.setMipMapping(false);
|
||||
texture.setMipMapping(false, true);
|
||||
batch->setTexture(&texture, {});
|
||||
|
||||
const struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue