Skip to content

Disable font mipmapping to get rid of artifacts on signs#1410

Open
BotchGit wants to merge 2 commits intosmartcmd:mainfrom
BotchGit:BotchGit-Disable-Font-Mipmapping
Open

Disable font mipmapping to get rid of artifacts on signs#1410
BotchGit wants to merge 2 commits intosmartcmd:mainfrom
BotchGit:BotchGit-Disable-Font-Mipmapping

Conversation

@BotchGit
Copy link
Copy Markdown
Contributor

Description

Disables mipmapping during font rendering to remove artifacts at a distance for signs.

Changes

Uses setMipmapEnabled in Font.cpp to disable mipmapping during font rendering.

Previous Behavior

Mipmapping was done to fonts, which makes text on signs look like this from even moderately farther away:
old Minecraft Client_sA9o8rCn3I

Minecraft Client_dthlLLLgYY

Root Cause

Mipmapping was being applied to all fonts...

New Behavior

With mipmapping disabled signs now look like this:
Minecraft Client_l6p0M9q5ca

Fix Implementation

See changes

AI Use Disclosure

None

Related Issues

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant