Releases: playcanvas/engine
Releases · playcanvas/engine
v1.55.2
v1.55.1
What's New
- Support RGBP encoding (#4414)
Bug Fixes
- Skip morph target curve outputs with no data (#4474)
- Remove unnecessary warnings (#4475)
- Support extension declarations in shader preprocessor (#4476)
- Remove extraneous bracket in diffuseDetailMap shader chunk by @Mintytorus (#4481)
- Increase the shadow resolution in model-outline example to avoid banding (#4491)
- Added deprecated private Scene._updateSkybox function to avoid Editor breaking (#4492)
- Back out tuple notation which is not supported by JSDoc (#4493)
- Revert "Enable clustered lighting by default (#4364)" (#4494)
- Revert "Make touch events passive like mouse events (#4279)" (#4495)
- Polyfill for Object.values by @kungfooman (#4482)
Full Changelog: v1.55.0...v1.55.1
v1.55.0
Larger features
- Support for
KHR_materials_specular
by @GSterbrant in #4386 - Support for
KHR_materials_ior
by @GSterbrant in #4429 - Support for
KHR_materials_transmission
and refraction as a texture by @GSterbrant in #4437 - Enable clustered lighting by default by @mvaligursky in #4364
- Chunk version checking by @slimbuck in #4343
- Shadow intensity by @GSterbrant in #4346 #4352
- SSAO Downscale by @GSterbrant in #4339
- Support WASM module loading by @slimbuck in #4235 #4452
What's New
- Deprecated ForwardRenderer.renderComposition to keep compatibility. by @mvaligursky in #4292
- Get sourcemaps working by @slimbuck in #4293
- Reverted API change to ForwardRenderer.setCamera as Editor uses it by @mvaligursky in #4294
- Add outline/shadow tags to markups by @querielo in #4302
- Small rollup cleanup by @slimbuck in #4310
- Add examples develop script by @slimbuck in #4309
- Revert "Remove legacy flipV code in glb-parser (#4079)" by @slimbuck in #4312
- Box-reflection example uses batmobile mesh instead of a sphere by @mvaligursky in #4321
- Updated JSDocs of AppOptions to be JSDocs compatible by @mvaligursky in #4324
- Layer composition rendering using RenderPass, optimization by @mvaligursky in #4317
- Utility private ShaderPass class to abstract some code scattered in the codebase by @mvaligursky in #4328
- Small ForwardRenderer change in a way view uniform buffers are setup by @mvaligursky in #4331
- Extract backend from standard.js by @slimbuck in #4254
- Really really disable mipmaps on RGBE by @slimbuck in #4347
- Animate morph targets by name by @ellthompson in #4327
- Remove throws from GraphNode which were unnecessarily interrupting execution by @mvaligursky in #4350
- Adding Debug.call which executes a function in debug mode only by @mvaligursky in #4349
- Update programlib by @slimbuck in #4363
- Prefer
===
over==
and!==
over!=
by @willeastcott in #4366 - Update NPM dependencies by @willeastcott in #4367
- Update comment in Grab-Pass example to match current behaviour by @mvaligursky in #4369
- Handle null texture in textureAtlas by @slimbuck in #4370
- Added w component to the origin and direction for XRRay by @yaustar in #4372
- Refactor JSDoc blocks for events by @willeastcott in #4373
- Add missing JSDoc param by @willeastcott in #4374
- JSDoc: graphics: lit-shader/standard, scene: render-action/forward-renderer by @kungfooman in #4376
- Update basis with latest build by @slimbuck in #4384
- Only import what is necessary from sinon by @willeastcott in #4385
- Sync screens draw order on set Priority. by @jpauloruschel in #4380
- Remove duplicated anim export by @willeastcott in #4383
- Public log tracing functionality by @mvaligursky in #4361
- Deprecated obsolete functionality from the Scene by @mvaligursky in #4388
- Extracted skybox functionality from Scene into Sky class by @mvaligursky in #4389
- Shader allocation tracing by @mvaligursky in #4387
- Flag lightmapper custom chunks with correct API by @slimbuck in #4393
- Small internal refactor of shader variants handling by renderer by @mvaligursky in #4394
- Copy unlit material texture rotation by @slimbuck in #4396
- Deallocate internal resources for post effects by @GSterbrant in #4398
- Remove the AssetListLoader class from the deprecated file by @ellthompson in #4401
- Handle scenes with skybox by @slimbuck in #4403
- ShaderProcessor partially updating shader source to support uniform buffers by @mvaligursky in #4402
- Deprecate material.updateShader instead of removing it. by @mvaligursky in #4406
- Refactor of glTF extension handling by @GSterbrant in #4409
- BasicMaterial shader name for Spector by @mvaligursky in #4408
- Encoding cleanup by @slimbuck in #4405
- Shader processor improvements related to bind groups format by @mvaligursky in #4410
- [BREAKING] Material specular now defaults to 1. by @GSterbrant in #4419
- Don’t log version/revision message if those are not valid by @mvaligursky in #4421
- Reset default specular to 1. by @GSterbrant in #4423
- Add helper for getting shader pass type by @slimbuck in #4424
- Respect standard material options.gamma by @slimbuck in #4425
- Dot not build lighting shader if material.useLighting is false by @mvaligursky in #4430
- Add switch to enable/disable specular color with metalness workflow by @GSterbrant in #4428
- Reintroduce support for chunk $texture2DSAMPLE by @slimbuck in #4431
- Remove redundant normalisations by @GSterbrant in #4435
- Handle shader-decoded texture alpha correctly by @slimbuck in #4440
- Simplified passing ior by @GSterbrant in #4441
- Only degamma specular if we use a metalness specular color map by @GSterbrant in #4436
- Handle specular encoding by providing the encoding method as an option by @GSterbrant in #4443
- All prefiltered env maps are rgbm by @slimbuck in #4445 #4453
- Correct encodeGamma return type by @slimbuck in #4448
Bug fixes
- AssetListLoader json model fix by @ellthompson in #4296
- IE shader compile fix by @slimbuck in #4298
- [FIX] Update
emissiveMapTint
call toemissiveTint
by @willeastcott in #4301 - [Fix] Disabled layers (depth) are skipped instead of splitting render pass by @mvaligursky in #4305
- [FIX] Add API docs for new text markup tags by @willeastcott in #4316
- [Fix] - SceneGrab using correct camera to see what buffer to grab by @mvaligursky in #4337
- [Fix] Grab pass (color, depth) now properly support multiple cameras by @mvaligursky in #4340
- Fix minimal options by @slimbuck in #4344
- [Fix] Fix to BasicMaterial support of alphaTest by @mvaligursky in #4345
- Fixes some WebGL types by @kungfooman in #4197
- SSAO delayed resize fix by @GSterbrant in #4342
- AnimTargetValue fix by @ellthompson in #4335
- [Fix] Improvement to Entity.destroy by @mvaligursky in #4354
- Fix culling on screen-space screen. by @jpauloruschel in #4355
- [Fix] Don’t trigger an assert on initial blend weights getting set up by @mvaligursky in #4357
- [Fix] Fix Ammo internal init when the App is recreated. by @mvaligursky in #4332
- [Fix] Fix to sharing of clustered light buffer between layers by @mvaligursky in #4362
- Fix depth linearization by @GSterbrant in #4360
- Shader fixes by @slimbuck in #4379
- JSDoc fixes for event and type tags by @willeastcott in #4381
- Fix the shader bug by @slimbuck in #4392
- Shader compilati...
v1.54.1
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
v1.53.4
v1.53.3
v1.53.2
v1.53.1
v1.53.0
What's New
- [Breaking][Anim Component] Layer blending update by @ellthompson in #4064 (Please read this forum post for more details)
- DepthFunc per material by @MrMabulous in #4098
- Workaround for Samsung Exynos particle rendering/crash by @yaustar in #4147
- Add Vec3 Support for setFromEulerAngles() pc.Quat function by @zishiwu123 in #4139
- Handle Area Lights LUT textures destruction when device is destroyed by @mvaligursky in #4084
- Shader texture bias and ao fixes by @slimbuck in #4150
- Add retry option for glue and fallback downloading methods by @zishiwu123 in #4148
- Organize shader chunks by @slimbuck in #4151
- Extracted WebglRenderTarget class from RenderTarget and WeblGraphicsDevice by @mvaligursky in #4086
- Enforce single quotes and disallow
var
in unit tests by @willeastcott in #4154 - Implement/use defineProtoFunc for better polyfills by @kungfooman in #3994
Bug Fixes
- Cleaned up material references in render component # onRemove by @yaustar in #4126
- [FIX] Superfluous argument to
WebglTexture
constructor by @willeastcott in #4152
New Contributors
- @zishiwu123 made their first contribution in #4139
- @MrMabulous made their first contribution in #4098
Full Changelog: v1.52.6...v1.53.0