This project demonstrates the capabilities of filament with the use in flutter.
- Render 3D model with IBL
Many thanks to the filament team for this. You can always check out filament in the original repository
To run the project on Android at this point, you need to run the flutter project
in filament_flutter_android/example
. Current use of filament version 1.25.0
, To change the
filament version, change the /android/build.gradle dependencies:
dependencies {
implementation 'com.google.android.filament:filament-android:1.25.0'
implementation 'com.google.android.filament:gltfio-android:1.25.0'
implementation 'com.google.android.filament:filament-utils-android:1.25.0'
}
If you have changed the filament version, it is advisable to rebuild the project files:
- Download the filamaent version as indicated in the android dependencies, for your operating system https://github.com/google/filament/releases
- Go to the terminal and open
the
filament_flutter_android/example/android/app/src/main/assets/envs
folder - Run generator:
dowloaded_filament_folder/bin/cmgen
-x default_env
--format=ktx
--size=256
--extract-blur=0.1
lightroom_14b.hdr
Project files:
3D models
- filament_flutter_android/example/android/app/src/main/assets/modelsSky box
- filament_flutter_android/example/android/app/src/main/assets/envs