Bugsbycarlin Posted June 27 Share Posted June 27 Hi all, In earlier versions, I made the text for custom fonts crisp by doing: let new_text = new PIXI.Text({text:text, style:text_style}); // no longer valid in Pixi 8 new_text.texture.baseTexture.scaleMode = PIXI.SCALE_MODES.NEAREST; In V8, texture and baseTexture are undefined for Text objects, leading to the error "TypeError: Cannot read properties of undefined (reading 'baseTexture')" What's the way to force the scaleMode on Text in V8, or an alternative to guarantee crisp text? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.