[ALVR-OpenXR-Engine] Ask a question about black perspective
First of all, I would like to thank all developers for their hard work. I looked up the packaging logic of korejan/ALXR-nightly (github.com) , as well as the dependent ALVR project and ALXR engine code, Found several ways, it seems that you can modify the perspective color.
- ALVR-OpenXR-Engine project src/alxr_engine/options.h GetBackgroundClearColor (TransparentBlack, Black)
- ALVR project alvr/experiments/graphics/src/ lib.rs execute_default_pass (load: Load Op :: Clear (Color :: Black))
- ALVR project alvr/experiments/server _compositor/src/compositing.rs draw < 'a > (load: Lo a dOp :: Cle a r (Color :: BLACK))
I tried to modify these parameters from black to green, but there was no effect after re-compiling, the apk link streamvr is still black perspective. So I thought it would be better to have a familiar developer tell me where to modify, or develop a custom option for users to modify themselves. Thank you
@geshijie123 hey, sorry the the project structure is a bit of mess at the moment, I will be doing a fairly major restructure in the near future to simplify things.
You can ignore the directory alvr/experiments this isn't relevant to alxr, I will delete this directory in the next couple of days. The only directory you need to look in is /alvr/openxr-client (and have synced up the submodule).
Are you trying to modify the passthrough modes? if so the shaders are in ALVR-OpenXR-Engine repo, passthroughBlend_frag.glsl/.hlsl passthroughMask_frag.glsl/.hlsl you'll need to be familiar with Vulkan at least. If you don't mind going to a NSFW site I would suggest reading through this (NSFW) thread where I have replied to a few things.
I'm currently focusing on redoing the passthrough modes and will be attempting to add client side UI for passthrough settings with real-time updates.