![]() ![]() Static Batching A technique Unity uses to draw GameObjects on the screen that combines static (non-moving) GameObjects into big Meshes, and renders them in a faster way. By default this option is enabled, and Unity includes WebGL2.0, with WebGL1.0 as a fallback for devices where WebGL2.0 is not supported. See the Linear rendering overview for an explanation of the difference between the two.ĭisable this option to manually pick and reorder the graphics APIs. Rendering Player settings for the WebGL platform PropertyĬhoose which color space should be used for rendering: Gamma or Linear. Use these settings to customize how Unity renders your game for the WebGL platform. By default, the main camera in Unity renders its view to the screen. Rendering The process of drawing graphics to the screen (or to a render texture).This section allows you to customize a range of options organized into the following groups: Follow the instructions in Using WebGL Templates. You can specify your own template so that you can run your game in a similar environment to the finished game. The Minimal page has only the necessary boilerplate code to run the WebGL content.The Default page is a simple white page with a loading bar on a grey canvas.Select a template to use for your WebGL Project: Set the height of the WebGL canvas element.Įnable this option to allow your content to continue to run when the canvas or the browser window loses focus. Set the width of the WebGL canvas element. Resolution section for the WebGL Player platform Resolution Setting This section allows you to customize the size and style. Also, the only settings on the Splash Image panel are the common Splash Screen settings.įor more information about WebGL Publishing Settings, see the WebGL Building and Running page. Note: Although the Icon panel appears on the WebGL Player settings, there are no icon settings because WebGL games don’t use icons. You can find documentation for the properties in the following sections: For a description of the general Player settings, see Player. 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. ![]() This page details the Player settings specific to the WebGL A JavaScript API that renders 2D and 3D graphics in a web browser. ![]()
0 Comments
Leave a Reply. |