9patch is blurry in webGL

Bugs will be moved here once resolved.

Post » Thu Mar 27, 2014 4:38 am

Problem Description
When you have a project correctly set up to emulate old school pixel graphics, the 9patch seems to behave strangely when webGL is enabled. There seems to be some blur around all of the pixels - this is not present when webGL is not enabled. This is something that seems to be exclusive to the 9patch as I have yet to see it in Sprites or TiledBackgrounds.

Image of WebGL on: https://www.dropbox.com/s/rhoc2gnprcdcg36/webglon.png
Image of WebGL off: https://www.dropbox.com/s/nzs8zgvko8l2xcf/webgloff.png

Attach a Capx
https://www.dropbox.com/s/lkpg8c5dfhd7j89/9patch.capx

Description of Capx
CapX shows how the different assets are handled differently. Sprites and Tiled Backgrounds are as expected, whereas the 9Patch is blurry.

Steps to Reproduce Bug
  • Run the capX with WebGL enabled and look at the 9patch platform
  • Observe how the pixels are blurred at the edges
  • Run the capX with WebGL disabled and look at the 9patch platform
  • Observe how the pixels are sharp at the edges

Observed Result
Pixels are blurred at edges, emulating some form of anti aliasing when webGL is enabled.

Expected Result
Edges stay sharp as seen in the editor and pixel definition is retained when webGL is enabled.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (?)
  • Internet Explorer: (YES)

Operating System and Service Pack
Windows 7 Pro
Service Pack 1

Construct 2 Version ID
164.2
B
45
S
9
G
2
Posts: 141
Reputation: 4,197

Post » Thu Mar 27, 2014 4:58 pm

Thanks, should be fixed in next build.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746

Post » Mon Apr 14, 2014 4:52 pm

Ashley wrote:Thanks, should be fixed in next build.
By the way TiledBackground has same effects
Creator of MiniDayZ
B
22
S
2
G
2
Posts: 75
Reputation: 1,858

Post » Mon Apr 14, 2014 4:53 pm

@Farsight - please don't reply to closed bug reports, make a new post following all the guidelines.
Scirra Founder
B
395
S
232
G
88
Posts: 24,368
Reputation: 193,746


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests