Repository navigation
flutter_scene 0.24.2
·
33 commits
to master
since this release
Scene.disposedrops the render targets and history textures a scene keeps across frames, so they no longer wait on the scene object being collected. A disposed scene throws aStateErroron render.SceneView.declarativedisposes the scene it owns when it unmounts.- Temporal anti-aliasing's
objectMotionworks on the web. Its velocity shaders failed to link on WebGL2, so every frame threw. - An object that stops moving no longer keeps reporting its last step in the velocity buffer, so temporal anti-aliasing stops reprojecting it as if it still moved.
- Scenes drawn in the same frame pace the GPU together, so a second
SceneView(a portal or picture-in-picture view) no longer freezes on its last image while the first one renders. Regressed in 0.24.0. - Directional shadows fade to lit over the last tenth of
shadowMaxDistance(at leastshadowFadeRange), so distant shadows no longer switch off a strip at a time as the camera moves and the cached shadow tiles re-centre. Surfaces past the fade skip shadow sampling.