HTML 5 - bad resolution
I reviewed other old answers but in code - I can't see his solutions.
also I tried to set up console commands for resolution - all work before packaging (and in the editor and standalone good resolution). after it in localhost - it's not work.
asked Dec 09 '16 at 07:04 PM in Packaging & Deployment
n the future there will be an incorporated fix in the HTML shell template that UE4 uses which allows customizing between a couple of different "stock" behaviors for flexibility, e.g. fixed window, standard dpi and high dpi. These earlier resize bugs have all been confirmed to be fixed there. You can see an example of that in action in the new Zen Garden demo that launched this week,
In particular moving between fullscreen modes now allows retaining the pixel perfect high DPI rendering that reduces aliasing caused by resolution mismatching. In this solution, the "r.setres width x height" fields are not by default used, and rather developers can stylize and size the canvas from the html page. It is still possible to use the r.setres if the html page is set to "fixed" size. See the html page source of the WebAssembly demo above to get an idea of how that will work in action.
answered Mar 09 '17 at 02:15 PM
I did some more testing and it actually does seem like the resolution gets messed up when going into fullscreen.
In regards to the full screen not working this has been entered as a bug and is currently being worked on. You can find the report here: https://issues.unrealengine.com/issue/UE-36341 (this deals with the black bars) hopefully will address the resolution issue.
I got around this by hitting "`" (this opens the console) and typing "r.setres 1920x1080"
I know this isn't a viable solution for your customers so maybe what you can do is this:
The other issue you are seeing is anti-aliasing not functioning. After extended testing I couldn't get good results with Anti-Aliasing so I entered this feature request: https://issues.unrealengine.com/issue/UE-40091
Let me know if anything needs to be changed or added.
answered Dec 30 '16 at 03:14 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here