1// Copyright (c) 2021-2023 NVIDIA Corporation 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5include::{generated}/meta/{refprefix}VK_NV_displacement_micromap.adoc[] 6 7=== Other Extension Metadata 8 9*Last Modified Date*:: 10 2023-03-17 11*Interactions and External Dependencies*:: 12 TBD 13*Contributors*:: 14 - Christoph Kubisch, NVIDIA 15 - Eric Werness, NVIDIA 16 17=== Description 18 19Ray tracing can very efficiently render from geometry which has very fine 20detail, but when using only a basic triangle representation, memory 21consumption can be an issue. 22This extension adds the ability to add a _displacement map_ to add more 23detail to triangles in an acceleration structure with an efficient in-memory 24format. 25The format is externally visible to allow the application to compress its 26internal geometry representations into the compressed format ahead of time. 27This format adds displacements along a defined vector to subtriangle 28vertices which are subdivided from the main triangles. 29 30This extension provides: 31 32 * a new elink:VkMicromapTypeEXT format for the displacement micromap, 33 * a structure to extend 34 slink:VkAccelerationStructureGeometryTrianglesDataKHR to attach a 35 displacement micromap to the geometry of the acceleration structure, 36 * enums extending elink:VkBuildAccelerationStructureFlagBitsKHR to allow 37 for updates. 38 39include::{generated}/interfaces/VK_NV_displacement_micromap.adoc[] 40 41=== Issues 42 43(1) What is the status of this extension? 44-- 45 * Provisional and expected to change. 46 The broad structure and encoding format are stable, but there will 47 likely be changes to the structures, enumerant values, and shader 48 interface. 49-- 50 51=== Version History 52 53 * Revision 1, 2023-03-17 (Eric Werness) 54 ** Initial public revision 55 * Revision 2, 2023-07-07 (Eric Werness) 56 ** Add shader support for decode intrinsics 57