Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Micromaps and Opacity maps #34

Open
natevm opened this issue Nov 19, 2022 · 1 comment
Open

Feature Request: Micromaps and Opacity maps #34

natevm opened this issue Nov 19, 2022 · 1 comment

Comments

@natevm
Copy link
Contributor

natevm commented Nov 19, 2022

Recent NVIDIA cards now support opacity micromaps.

Every subtriangle takes about 1 byte.

Opacity maps allow for masking subtriangles as transparent or opaque. This allows rays to pass through these subtriangles without calling into an anyhit program.

Then, micromeshes allow for fine level displacement on a single triangle, which is useful for techniques like displacement mapping.

For more details, this is a good reference.
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_opacity_micromap.html

@natevm
Copy link
Contributor Author

natevm commented Nov 19, 2022

Using micromaps requires support for the VK_EXT_opacity_micromap device extension. This is available on all NVIDIA architectures supporting RT cores, including Turing.

https://vulkan.gpuinfo.org/listdevicescoverage.php?extension=VK_EXT_opacity_micromap&platform=all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant