Skip to content

Commit 5c92e46

Browse files
mergify[bot]pmconnearuniverse
authored
Remove extra MSAA filter (backport #8779) [release/5.3.x] (#8784)
Co-authored-by: Paul Connelly <[email protected]> Co-authored-by: Arun George <[email protected]>
1 parent de34423 commit 5c92e46

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@itwin/core-frontend",
5+
"comment": "Fix background color displaying instead of sky box on certain hardware.",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@itwin/core-frontend"
10+
}

core/frontend/src/internal/render/webgl/SceneCompositor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ class FrameBuffers implements WebGLDisposable {
343343
undefined !== textures.depthAndOrderMsBuffHidden
344344
);
345345
const colorAndPickMsBuffs = [textures.colorMsBuff, textures.featureIdMsBuff, textures.depthAndOrderMsBuff];
346-
const colorAndPickFilters = [GL.MultiSampling.Filter.Linear, GL.MultiSampling.Filter.Nearest, GL.MultiSampling.Filter.Nearest, GL.MultiSampling.Filter.Nearest];
346+
const colorAndPickFilters = [GL.MultiSampling.Filter.Linear, GL.MultiSampling.Filter.Nearest, GL.MultiSampling.Filter.Nearest];
347347
this.opaqueAll = FrameBuffer.create(colorAndPick, depth, colorAndPickMsBuffs, colorAndPickFilters, depthMs);
348348
colorAndPick[0] = textures.color;
349349
this.opaqueAndCompositeAll = FrameBuffer.create(colorAndPick, depth, colorAndPickMsBuffs, colorAndPickFilters, depthMs);

0 commit comments

Comments
 (0)