eye-tracked foveation

This commit is contained in:
galister
2024-08-30 11:24:36 +02:00
committed by xytovl
parent bb22403f7e
commit 8503e3480b
17 changed files with 888 additions and 33 deletions
+5
View File
@@ -433,3 +433,8 @@ void stream_reprojection::reproject(vk::raii::CommandBuffer & command_buffer, in
command_buffer.draw(6 * nb_reprojection_vertices * nb_reprojection_vertices, 1, 0, 0);
command_buffer.endRenderPass();
}
void stream_reprojection::set_foveation(std::array<xrt::drivers::wivrn::to_headset::foveation_parameter, 2> foveation)
{
foveation_parameters = foveation;
}