Update leenkx/Sources/leenkx/renderpath/Inc.hx

This commit is contained in:
Onek8 2025-06-01 03:39:35 +00:00
parent c769b3ca26
commit 45a48acf8a

View File

@ -678,7 +678,7 @@ class Inc {
}
else {
if (t.name == "voxelsSDF" || t.name == "voxelsSDFtmp") {
t.format = "R16";
t.format = "R8";
t.width = res;
t.height = res * Main.voxelgiClipmapCount;
t.depth = res;
@ -687,7 +687,7 @@ class Inc {
#if (rp_voxels == "Voxel AO")
{
if (t.name == "voxelsOut" || t.name == "voxelsOutB") {
t.format = "R16";
t.format = "R8";
t.width = res * (6 + 16);
t.height = res * Main.voxelgiClipmapCount;
t.depth = res;
@ -702,7 +702,7 @@ class Inc {
#else
{
if (t.name == "voxelsOut" || t.name == "voxelsOutB") {
t.format = "RGBA64";
t.format = "RGBA32";
t.width = res * (6 + 16);
t.height = res * Main.voxelgiClipmapCount;
t.depth = res;