I'm trying to make a skybox:
pub fn init_camera(mut commands: Commands, mut asset_server: Res<AssetServer>) {
commands.spawn(Camera3dBundle::default())
.insert(MainCamera)
.insert(CameraTransform::Absolute(Vec3::new(0., 10., 10.), Quat::from_rotation_x(90.)))
.insert(Skybox {
image: asset_server.load("skybox.png"),
brightness: 1000.0,
});
}
with "./assets/skybox.png" being the attatched cube map. Running it leads to the attached error