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