fix(sky): update bevy-equirect to fix skytex

Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
Schmarni
2025-08-26 18:47:27 +02:00
parent 1c6b42e69a
commit 712678a666
4 changed files with 4 additions and 7 deletions

View File

@@ -382,7 +382,7 @@ fn bevy_loop(
app.add_plugins(bevy_sk::hand::HandPlugin);
app.add_plugins(bevy_equirect::EquirectangularPlugin);
// app.add_plugins(HandGizmosPlugin);
app.world_mut().resource_mut::<AmbientLight>().brightness = 1000.0;
// app.world_mut().resource_mut::<AmbientLight>().brightness = 1000.0;
if let Some(priority) = args.overlay_priority {
app.insert_resource(OxrOverlaySettings {
session_layer_placement: priority,

View File

@@ -14,7 +14,6 @@ use color_eyre::eyre::eyre;
use model::ModelPart;
use parking_lot::Mutex;
use stardust_xr::values::ResourceID;
use tracing::info;
use std::{ffi::OsStr, path::PathBuf, sync::Arc};
static QUEUED_SKYLIGHT: Mutex<Option<Option<PathBuf>>> = Mutex::new(None);
@@ -53,7 +52,6 @@ impl InterfaceAspect for Interface {
calling_client: Arc<Client>,
tex: Option<ResourceID>,
) -> Result<()> {
info!("setting sky tex");
let resource_path = tex
.map(|tex| {
get_resource_file(&tex, &calling_client, &[OsStr::new("hdr")])
@@ -69,7 +67,6 @@ impl InterfaceAspect for Interface {
calling_client: Arc<Client>,
light: Option<ResourceID>,
) -> Result<()> {
info!("setting sky light");
let resource_path = light
.map(|light| {
get_resource_file(&light, &calling_client, &[OsStr::new("hdr")])