Fix D3D12 NanoVDB volume load stalls

This commit is contained in:
2026-04-11 00:27:23 +08:00
parent be5dabd820
commit 4080b2e5fe
11 changed files with 1328 additions and 36 deletions

View File

@@ -171,7 +171,6 @@ Shader "Builtin Volumetric"
float shadow = 1.0f;
float stepSize = 1.0f;
[unroll]
for (int stepIndex = 0; stepIndex < 10; ++stepIndex) {
const float3 samplePosition = localPosition + stepSize * localLightDirection;
const float sigmaS =