17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-11 18:07:13 +01:00

Replace cubemap scenery reflections with SSR, add Vulkan ray traced reflections

This commit is contained in:
2026-10-25 13:54:49 +01:00
parent 89f11895fc
commit f20b1a3071
45 changed files with 2725 additions and 174 deletions

View File

@@ -76,6 +76,12 @@ class device
{
return m_memory_budget;
}
// the ray queries are on with what they need (gfx.raytracing on a device which has them): the device addresses of buffers, the
// acceleration structures, the arrays of textures indexed in the shaders
bool raytracing_enabled() const
{
return m_raytracing;
}
private:
static queue_families find_queue_families(VkInstance Instance, VkPhysicalDevice Physical, VkSurfaceKHR Surface, std::uint32_t &TimestampBits);
@@ -88,6 +94,7 @@ class device
feature_chain m_queried;
bool m_portability_subset{false};
bool m_memory_budget{false};
bool m_raytracing{false};
VkQueue m_graphics_queue{VK_NULL_HANDLE};
VkQueue m_compute_queue{VK_NULL_HANDLE};