Since r118 WebGLRenderer automatically uses a WebGL 2 rendering context. When upgrading an existing project to
=> r118, applications might break because of two reasons:
If you can't afford the time to upgrade your code but still want to use the latest version, you can use WebGL1Renderer. This
version of the renderer will enforce a WebGL 1 rendering context.
- Custom shader code needs to be GLSL 3.0 conform.
- WebGL 1 extension checks have to be changed.
WebGL1Renderer(parameters : Object)
Creates a new WebGL1Renderer.
See the base WebGLRenderer class for common properties.
Read-only flag to check if a given object is of type WebGL1Renderer.
See the base WebGLRenderer class for common methods.
For more info on how to obtain the source code of this module see this page.