@galacean/engine-rhi-webgl 2.0.0-alpha.1 → 2.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +0 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +0 -5
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
package/dist/main.js
CHANGED
|
@@ -1413,11 +1413,6 @@ var GLBuffer = /*#__PURE__*/ function() {
|
|
|
1413
1413
|
})) {
|
|
1414
1414
|
throw new Error("MRT+Cube+[,MSAA] is not supported");
|
|
1415
1415
|
}
|
|
1416
|
-
var maxAntiAliasing = rhi.capability.maxAntiAliasing;
|
|
1417
|
-
if (target.antiAliasing > maxAntiAliasing) {
|
|
1418
|
-
engineCore.Logger.warn("MSAA antiAliasing exceeds the limit and is automatically downgraded to:" + maxAntiAliasing);
|
|
1419
|
-
/** @ts-ignore */ target._antiAliasing = maxAntiAliasing;
|
|
1420
|
-
}
|
|
1421
1416
|
this._frameBuffer = this._gl.createFramebuffer();
|
|
1422
1417
|
// bind main FBO
|
|
1423
1418
|
this._bindMainFBO();
|