Is the anti aliasing feature enabled by default for the OpenFL HTML5 project?
I noticed that my image has been scaled and blurred
You should add allow-high-dpi="true"
to the <window>
tag to ensure that your application takes full advantage of high-resolution displays when running.
Without this attribute, the application might appear blurry or scaled incorrectly on high-DPI screens. Enabling high-DPI support ensures that visuals and text are rendered with sharpness and clarity appropriate for the device’s pixel density.
<window allow-high-dpi="true" />
I have been usingto enable high dpi
Here is what I meant to express
[antialias=false]
Boolean optional
Specifies whether or not the browser’s WebGL implementation should try to perform anti-aliasing. This will also enable linear pixel sampling on power-of-two textures (smoother images).
Does openfl have such a switch?