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:
Image of WebGL off:
Attach a 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
Pixels are blurred at edges, emulating some form of anti aliasing when webGL is enabled.
Edges stay sharp as seen in the editor and pixel definition is retained when webGL is enabled.
- Chrome: (YES)
- FireFox: (?)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 7 Pro
Service Pack 1
Construct 2 Version ID