You might need to adjust your server configuration to match your specific build setup. You should also use it if you plan to use static compression on the hosting server.įor more information on browser support for selected compression methods, see documentation on WebGL browser compatibility. More info post processing, postprocessing, postprocess See in Glossary scripts A piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. You can use post-processing effects to simulate physical camera and film properties, for example Bloom and Depth of Field. Use this option if you want to implement your own compression in post-processing A process that improves product visuals by applying filters and effects before the image appears on screen. Chrome and Firefox only natively support Brotli compression over HTTPS.ĭisables compression. Brotli compressed files are smaller than gzip, but take a longer time to compress, which increases your iteration times on release builds. Gzip files are bigger than Brotli files, but faster to build, and natively supported by all browsers over both HTTP and HTTPS.īrotli compression offers the best compression ratios. Decompression Fallback: Determines how Unity processes downloaded files when the build runs in the browser.Ĭhoose the compression type from the WebGL Player Settings window (menu: Edit > Project Settings > Player, then select WebGL and expand the Publishing Settings section): Image of WebGL Publishing window Compression method.See in Glossary Format: Determines how Unity compresses files during the build step. See Texture Compression, Animation Compression, Audio Compression, Build Compression.
More info See in Glossary build, you must configure your server and make sure you’re using the correct response headers, so that the browser can receive the proper response and process the response correctly. The Unity WebGL build option allows Unity to publish content as JavaScript programs which use HTML5 technologies and the WebGL rendering API to run Unity content in a web browser. To deploy a WebGL A JavaScript API that renders 2D and 3D graphics in a web browser.