Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into update-prettier-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jjspace committed Sep 26, 2024
2 parents 93f79dc + df31819 commit ddda56b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .slackbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ releaseSchedule:
- jjhembd, 8/1/2024
- jjspace, 9/1/2024
- ggetz, 10/1/2024
- jjhembd, 11/1/2024
- lukemckinstry, 11/1/2024
- jjspace, 12/1/2024

1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

- Use first geometryBuffer if no best match found in I3SNode [#12132](https://github.com/CesiumGS/cesium/pull/12132)
- Update type definitions to allow undefined for optional parameters [#12193](https://github.com/CesiumGS/cesium/pull/12193)
- Reverts Firefox OIT temporary fix [#4815] and Firefox test failure fix [#5047]
- Fixed noise in ambient occlusion post process. [#12201](https://github.com/CesiumGS/cesium/pull/12201)

### 1.121.1 - 2024-09-04
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,3 +412,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu
- [Adam Wirth](https://github.com/adamwirth)
- [Javier Sanchez](https://github.com/jvrjsanchez)
- [Jérôme Fayot](https://github.com/jfayot)
- [Kirn Kim](https://github.com/squrki)
10 changes: 2 additions & 8 deletions packages/engine/Source/Scene/OIT.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,12 @@ function updateTextures(oit, context, width, height) {
pixelDatatype: PixelDatatype.FLOAT,
});

// Use zeroed arraybuffer instead of null to initialize texture
// to workaround Firefox. Only needed for the second color attachment.
const source = new Float32Array(width * height * 4);
oit._revealageTexture = new Texture({
context: context,
pixelFormat: PixelFormat.RGBA,
pixelDatatype: PixelDatatype.FLOAT,
source: {
arrayBufferView: source,
width: width,
height: height,
},
width: width,
height: height,
flipY: false,
});
}
Expand Down
15 changes: 4 additions & 11 deletions packages/engine/Specs/Renderer/FramebufferSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,22 +588,15 @@ describe(
return;
}

const source = new Uint8Array(4);
const colorTexture0 = new Texture({
context: context,
source: {
arrayBufferView: source,
width: 1,
height: 1,
},
width: 1,
height: 1,
});
const colorTexture1 = new Texture({
context: context,
source: {
arrayBufferView: source,
width: 1,
height: 1,
},
width: 1,
height: 1,
});
framebuffer = new Framebuffer({
context: context,
Expand Down

0 comments on commit ddda56b

Please sign in to comment.