A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
chore(examples): Bistro renders and bakes in linear light with the ACES output transform
yhhd8880f30e594
diff --git a/examples/bistro/assets/scenes/main.esscene b/examples/bistro/assets/scenes/main.essceneindex 3622d0440..a29d74e96 100644--- a/examples/bistro/assets/scenes/main.esscene+++ b/examples/bistro/assets/scenes/main.esscene@@ -62,13 +62,6 @@"u_radius": 1.2}},- {- "type": "tonemap",- "enabled": true,- "uniforms": {- "u_exposure": 0- }- },{"type": "fxaa","enabled": true,diff --git a/examples/bistro/project.esproject b/examples/bistro/project.esprojectindex 9683028af..f8404e74f 100644--- a/examples/bistro/project.esproject+++ b/examples/bistro/project.esproject@@ -9,5 +9,11 @@"width": 1480,"height": 920},- "spineVersion": "none"-}+ "spineVersion": "none",+ "features": {+ "rendering": {+ "colorSpace": "linear",+ "outputTransform": "aces"+ }+ }+}\ No newline at end of filediff --git a/examples/bistro/tools/build-scene.mjs b/examples/bistro/tools/build-scene.mjsindex 3c4d11ead..a1e365177 100644--- a/examples/bistro/tools/build-scene.mjs+++ b/examples/bistro/tools/build-scene.mjs@@ -46,7 +46,6 @@ add('Camera', [{ type: 'PostProcessVolume', data: { isGlobal: true, priority: 0, weight: 1, effects: [{ type: 'ssao', enabled: true, uniforms: { u_radius: 70, u_intensity: 1, u_bias: 0.12, u_power: 1.5 } },{ type: 'bloom', enabled: true, uniforms: { u_threshold: 0.9, u_intensity: 0.5, u_radius: 1.2 } },- { type: 'tonemap', enabled: true, uniforms: { u_exposure: 0 } },{ type: 'fxaa', enabled: true, uniforms: { u_intensity: 1 } },] } },]);