example project updates

This commit is contained in:
Nick Fisher
2024-03-30 11:20:20 +08:00
parent 1c871f1e99
commit 50b3ead812
2 changed files with 9 additions and 1 deletions

View File

@@ -64,7 +64,10 @@ class ExampleWidgetState extends State<ExampleWidget> {
static bool rendering = false;
static bool recording = false;
static int framerate = 60;
static bool postProcessing = true;
static bool postProcessing = false;
static bool antiAliasingMsaa = false;
static bool antiAliasingTaa = false;
static bool antiAliasingFxaa = false;
static bool frustumCulling = true;
static ManipulatorMode cameraManipulatorMode = ManipulatorMode.ORBIT;

View File

@@ -263,6 +263,11 @@ class _AssetSubmenuState extends State<AssetSubmenu> {
.loadIbl('assets/default_env/default_env_ibl.ktx');
},
child: const Text('Load IBL')),
MenuItemButton(
onPressed: () {
widget.controller.removeIbl();
},
child: const Text('Remove IBL')),
MenuItemButton(
onPressed: () async {
await Permission.microphone.request();