refactor(openxr): make environment blend modes a completely runtime feature, like it should and remove the fb_passthrough plugin from the default oxr plugins as quests now support blendmode based passthrough
Signed-off-by: Schmarni <marnistromer@gmail.com>
This commit is contained in:
@@ -13,10 +13,11 @@ fn main() -> AppExit {
|
||||
DefaultPlugins.build().disable::<PipelinedRenderingPlugin>(),
|
||||
))
|
||||
.insert_resource(OxrSessionConfig {
|
||||
blend_modes: Some(vec![
|
||||
blend_mode_preference: vec![
|
||||
EnvironmentBlendMode::ALPHA_BLEND,
|
||||
EnvironmentBlendMode::ADDITIVE,
|
||||
EnvironmentBlendMode::OPAQUE,
|
||||
]),
|
||||
],
|
||||
..default()
|
||||
})
|
||||
.add_plugins(bevy_mod_xr::hand_debug_gizmos::HandGizmosPlugin)
|
||||
|
||||
@@ -92,6 +92,6 @@ categories = [
|
||||
# https://developer.android.com/studio/publish/app-signing
|
||||
#
|
||||
# !! IMPORTANT !!
|
||||
[package.metadata.android.signing.release]
|
||||
path = "./hotham_examples.keystore"
|
||||
keystore_password = "chomsky-vigilant-spa"
|
||||
# [package.metadata.android.signing.release]
|
||||
# path = "./hotham_examples.keystore"
|
||||
# keystore_password = "chomsky-vigilant-spa"
|
||||
|
||||
Binary file not shown.
@@ -16,6 +16,7 @@ fn main() {
|
||||
..default()
|
||||
}))
|
||||
.add_plugins(bevy_mod_xr::hand_debug_gizmos::HandGizmosPlugin)
|
||||
.add_plugins(bevy_mod_openxr::features::fb_passthrough::OxrFbPassthroughPlugin)
|
||||
.add_systems(Startup, setup)
|
||||
.add_systems(Update, modify_msaa)
|
||||
.insert_resource(AmbientLight {
|
||||
|
||||
@@ -19,12 +19,13 @@ fn main() {
|
||||
..OxrInitPlugin::default()
|
||||
}))
|
||||
.insert_resource(OxrSessionConfig {
|
||||
blend_modes: Some({
|
||||
blend_mode_preference: {
|
||||
vec![
|
||||
EnvironmentBlendMode::ALPHA_BLEND,
|
||||
EnvironmentBlendMode::ADDITIVE,
|
||||
EnvironmentBlendMode::OPAQUE,
|
||||
]
|
||||
}),
|
||||
},
|
||||
..OxrSessionConfig::default()
|
||||
})
|
||||
.insert_resource(ClearColor(Color::NONE))
|
||||
|
||||
Reference in New Issue
Block a user