korejan / ALVR

Stream VR games from your PC to your headset via Wi-Fi
https://alvr-org.github.io/
MIT License
186 stars 27 forks source link

[ALVR-OpenXR-Engine] Ask a question about black perspective #98

Open geshijie123 opened 1 year ago

geshijie123 commented 1 year ago

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.

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

korejan commented 1 year ago

@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.