K
K
kidar22012-10-18 16:41:23
JavaScript
kidar2, 2012-10-18 16:41:23

Incomprehensible blur on MacOSX and anti-aliasing

Working with WebGL, there are two problems:
1. WebGL does anti-aliasing, which looks rather dull. I don't need it, I want to implement my own version, but I can't disable the built-in one. The only Googled solution is to create a context like "c = canvas.getContext("experimental-webgl", { antialias: false });" - does not work in Chrome, Opera, Firefox in Win7 and Mac OS X, or Safari in Mac OS X. Are there other options to disable built-in anti-aliasing?

2. The roots of the second problem are probably similar to the first. Running on a MacBook with a retina display, everything looks extremely dull and blurry. Heavy googling only resulted in the option of manually doubling the WebGL context viewport and canvas width/height while leaving the canvas style width/height as normal. And it rolls. But not in Safari. The picture in Safari remains blurry and incomparably more dull than in Chrome:

image
Does anyone have any ideas how to make Safari draw the picture like Chrome can?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question