Jump to content
Ackerman

Texture Quality

Recommended Posts

Detailed question: http://stackoverflow.com/questions/42588340/texture-quality-world-of-warcraft-vanilla.

Is there anyway to have a perfect texture in-game that is exactly like the original PNG image?

Not only close enough but actually match every single pixel without a little bit of quality loss.

local Frame = CreateFrame("Frame")
Frame:SetPoint("CENTER", 0, 0)
Frame:SetWidth(82)
Frame:SetHeight(82)
local Texture = Frame:CreateTexture()
Texture:SetAllPoints()
-- 82 / 128 = 0.640625
Texture:SetTexture("Interface\\AddOns\\MyAddOn\\image.tga") -- .blp .tga
Texture:SetTexCoord(0, 0.640625, 0, 0.640625)

PNG image.

TGA in-game screenshot (it looks that way, no quality loss from my screenshot method).

Edited by Ackerman

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×