Overview of Flutter Scene features
masterFlutter Scene provides a comprehensive toolkit for 3D development in Flutter, including:
Rendering
- PBR Materials: Physically based materials with image-based lighting (IBL) and a procedural studio environment.
- Lighting: Directional, point, and spot lights with shadow casting (cached shadow tiles for static geometry).
- Post-processing: HDR tone mapping, bloom, fog, god rays, screen-space reflections, depth of field, and anti-aliasing.
- Advanced Rendering: 3D Gaussian splatting (
.plyand.splat), instanced rendering, and automatic geometry LODs.
Materials and Shaders
- Custom Materials:
.fmatworkflow for fragment and vertex stages with shader hot reload. - Shader Inputs: Access to per-frame scene data like depth and shadow data.
Assets and Animation
- Importing: Runtime glTF (
.glb) import or build-time conversion to.fsceneb. - Animation: Skinned meshes and a blended animation system with declarative per-clip control.
- Textures: KTX2 compressed textures and HDR/EXR environment decoding.
App Integration
- SceneView Widget: Offers both an imperative scene-graph API and a declarative widget API (
SceneNode,SceneMesh,SceneModel). - Interactivity: Embed Flutter widgets on 3D surfaces with pointer raycasting into the scene.