mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 08:00:25 +02:00
Implement stereo depth and stencil support for VR cockpit rendering to fix hands getting darken by virtual screen
This commit is contained in:
1 parent
b2353e1410
commit
2a89fac79d
12 files changed
+147
-61
No files matched your search
@@ -505,6 +505,13 @@ void GXCopyTex(void* dest, GXBool clear) {
|
||||
.clearAlpha = true,
|
||||
.clearDepth = false,
|
||||
}),
|
||||
.stereoPipeline = aurora::stereo_frame_provider_active() ? aurora::gfx::pipeline_ref(aurora::gfx::clear::PipelineConfig{
|
||||
.msaaSamples = aurora::gfx::get_sample_count(),
|
||||
.clearColor = false,
|
||||
.clearAlpha = true,
|
||||
.clearDepth = false,
|
||||
.stereoStencil = true,
|
||||
}) : 0,
|
||||
.color = wgpu::Color{0.f, 0.f, 0.f, g_gxState.dstAlpha / 255.f},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user