Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
don't use mipmap filer for voxels 3D images.
Browse files Browse the repository at this point in the history
  • Loading branch information
e2002e committed Apr 23, 2024
1 parent fa9d54e commit 5ee9222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/iron/object/Uniforms.hx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class Uniforms {
g.setTextureParameters(context.textureUnits[j], TextureAddressing.Clamp, TextureAddressing.Clamp, TextureFilter.LinearFilter, TextureFilter.LinearFilter, MipMapFilter.LinearMipFilter);
}
else {
g.setTexture3DParameters(context.textureUnits[j], TextureAddressing.Clamp, TextureAddressing.Clamp, TextureAddressing.Clamp, TextureFilter.LinearFilter, TextureFilter.LinearFilter, MipMapFilter.LinearMipFilter);
g.setTexture3DParameters(context.textureUnits[j], TextureAddressing.Clamp, TextureAddressing.Clamp, TextureAddressing.Clamp, TextureFilter.LinearFilter, TextureFilter.PointFilter, MipMapFilter.NoMipFilter);
}
paramsSet = true;
}
Expand Down

0 comments on commit 5ee9222

Please sign in to comment.