v1.54.0
What's New
- Preprocessor to resolve ifdefs is applied to shader programs by @mvaligursky in #4156
- AppBase refactored out of the Application to allow for tree-shaking by @mvaligursky in #4082
- AppBase - additional refactor to improve minimal app size by @mvaligursky in #4175
- Public AssetListLoader & examples update by @ellthompson in #4149
- Enable support for retrying loading of container assets by @vfernandestoptal in #4188
- Add fitMode property on Image Elements. by @jpauloruschel in #4206
- Debug logging functions that log one time by @mvaligursky in #4243
- Refactored the grab pass and scene depth rendering by @mvaligursky in #4244
- Depth Fog engine example by @mvaligursky in #4257
- WIP implementation of UniformBuffer and BindGroup by @mvaligursky in #4258
- Basic implementation of RenderPass based architecture by @mvaligursky in #4272
- Add support for .opus audio files by @erikdubbelboer in #4280
Bug Fixes
- [FIX] Ensure consistent function return types by @willeastcott in #4153
- Partial migration to single quotes by @willeastcott in #4155
- [FIX] Declare standard material maps as nullable by @willeastcott in #4165
- Resolve pc.now to native function by @kungfooman in #4162
- Remove firing of redundant
frameEnd
event by @willeastcott in #4168 - [FIX] Correct type of
AnimClip
eventHandler parameter by @willeastcott in #4166 - Migrate more unit tests from Karma to Node by @willeastcott in #4163
- Migrate
framework
scene
andresources
folders to single quotes by @willeastcott in #4167 - Anim tests by @ellthompson in #4158
- Line rendering - avoid spread operator on large arrays by @mvaligursky in #4173
- Remove WebVR API support by @mvaligursky in #4177
- Renamed AppCreateOptions to AppOptions by @mvaligursky in #4178
- Update
AnimationComponent
to the new component format by @willeastcott in #4174 - AppBase handles missing XR correctly by @mvaligursky in #4179
- Remove logging from the grab pass example by @ellthompson in #4182
- Export AppBase class to allow testing by external applications by @mvaligursky in #4183
- Fix Readme - missing script: build:watch by @ahelja in #4187
- Simplified glsl by @CarlBateman in #4191
- Change some console.warn to Debug.warn by @Maksims in #4194
- Destroy XR-DepthSensing texture when Application is destroyed by @mvaligursky in #4207
- 2D UI rendering honors RenderTarget.flipY option by @mvaligursky in #4208
- Improved vertex color handling for GLB files by @mvaligursky in #4209
- Add bias version of rgbm helper by @slimbuck in #4217
- Add more JSDoc types by @kungfooman in #4205
- Support depth textures webgl1 by @slimbuck in #4227
- chore: Set permissions for GitHub actions by @naveensrinivasan in #4226
- Fix pc.SoundInstance end event suspension by @rafern in #4234
- Add .gitattributes to normalize how line endings are stored by @liamdon in #4240
- Convert stored line endings in repo to LF by @liamdon in #4241
- Organize shader chunks into vert and frag folders by @slimbuck in #4247
- Improve shader preprocessor whitespace handling by @slimbuck in #4249
- Additional performance markers & small code cleanup by @mvaligursky in #4251
- [FIX] Move closing parentheses to the right place by @willeastcott in #4253
- Use script tag for engine in examples by @slimbuck in #4255
- Update torus primitive by @slimbuck in #4256
- Upgrade Examples Browser to PCUI 2.3.1 by @willeastcott in #4264
- Remove many
ts-ignore
statements from examples by @willeastcott in #4270 - Updated contribution guidelines regarding the enum format by @mvaligursky in #4273
- Small refactor to depth layer access to work with multiple applications by @mvaligursky in #4274
- Changed copyright year to 2022 by @yaustar in #4275
- Return original source if preprocessor fails by @slimbuck in #4285
- Remove codeql by @slimbuck in #4286
- Fix color mix in the linear fog by @querielo in #4283
- Update
substr
calls tosubstring
by @willeastcott in #4276 - Polyfill for String.trimEnd by @mvaligursky in #4288
- Make touch events passive like mouse events by @erikdubbelboer in #4279
- Update Rollup config by @slimbuck in #4282
- Add app renderComposition by @slimbuck in #4291
- Element component: mark a batch group as dirty if an attribute has been changed by @querielo in #4289
New Contributors
- @ahelja made their first contribution in #4187
- @vfernandestoptal made their first contribution in #4188
- @naveensrinivasan made their first contribution in #4226
- @rafern made their first contribution in #4234
- @querielo made their first contribution in #4283
Full Changelog: v1.53.4...v1.54.0