SimBioT Posted March 4, 2020 Share Posted March 4, 2020 Trying to draw a simple rectangle but it's left and bottom lines are not straight. JsFiddle Example What's that? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 4, 2020 Share Posted March 4, 2020 Welcome to the forums! That's because 1. you dont use antialiasing , specify "antialias:true" in renderer options. 2. curves are . You can look inside "graphics.geometry.graphicsData" if you want to see the points of polygon that were passed from pixi to WebGL. If they are bad - algorithm that converts a curve to mesh made a bad work. You can change curve settings (search it in docs and pixi sources), or you can fix that part with your own code, its advanced stuff. SimBioT 1 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.