Tune WebGL quality and loading screen
This commit is contained in:
+2
-1
@@ -59,7 +59,7 @@
|
||||
var buildUrl = "Build";
|
||||
var loaderUrl = buildUrl + "/7a2dbded24d57e056180125b1583e7c4.loader.js";
|
||||
var config = {
|
||||
dataUrl: buildUrl + "/c1ac39c2807bce9c7f9071edf08b1ab0.data.gz",
|
||||
dataUrl: buildUrl + "/d1e2d1e3e120229ced20d8237eae353c.data.gz",
|
||||
frameworkUrl: buildUrl + "/62981e01aece13a94bac539c85228c75.framework.js.gz",
|
||||
codeUrl: buildUrl + "/e89ebbd31642308ad16cecffa889584e.wasm.gz",
|
||||
streamingAssetsUrl: "StreamingAssets",
|
||||
@@ -75,6 +75,7 @@
|
||||
}
|
||||
return "must-revalidate";
|
||||
};
|
||||
config.devicePixelRatio = Math.min(window.devicePixelRatio || 1, 1.5);
|
||||
|
||||
// By default Unity keeps WebGL canvas render target size matched with
|
||||
// the DOM size of the canvas element (scaled by window.devicePixelRatio)
|
||||
|
||||
Reference in New Issue
Block a user