forked from LeenkxTeam/LNXSDK
Update leenkx/Sources/leenkx/renderpath/Inc.hx
This commit is contained in:
@ -678,7 +678,7 @@ class Inc {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (t.name == "voxelsSDF" || t.name == "voxelsSDFtmp") {
|
if (t.name == "voxelsSDF" || t.name == "voxelsSDFtmp") {
|
||||||
t.format = "R16";
|
t.format = "R8";
|
||||||
t.width = res;
|
t.width = res;
|
||||||
t.height = res * Main.voxelgiClipmapCount;
|
t.height = res * Main.voxelgiClipmapCount;
|
||||||
t.depth = res;
|
t.depth = res;
|
||||||
@ -687,7 +687,7 @@ class Inc {
|
|||||||
#if (rp_voxels == "Voxel AO")
|
#if (rp_voxels == "Voxel AO")
|
||||||
{
|
{
|
||||||
if (t.name == "voxelsOut" || t.name == "voxelsOutB") {
|
if (t.name == "voxelsOut" || t.name == "voxelsOutB") {
|
||||||
t.format = "R16";
|
t.format = "R8";
|
||||||
t.width = res * (6 + 16);
|
t.width = res * (6 + 16);
|
||||||
t.height = res * Main.voxelgiClipmapCount;
|
t.height = res * Main.voxelgiClipmapCount;
|
||||||
t.depth = res;
|
t.depth = res;
|
||||||
@ -702,7 +702,7 @@ class Inc {
|
|||||||
#else
|
#else
|
||||||
{
|
{
|
||||||
if (t.name == "voxelsOut" || t.name == "voxelsOutB") {
|
if (t.name == "voxelsOut" || t.name == "voxelsOutB") {
|
||||||
t.format = "RGBA64";
|
t.format = "RGBA32";
|
||||||
t.width = res * (6 + 16);
|
t.width = res * (6 + 16);
|
||||||
t.height = res * Main.voxelgiClipmapCount;
|
t.height = res * Main.voxelgiClipmapCount;
|
||||||
t.depth = res;
|
t.depth = res;
|
||||||
|
Reference in New Issue
Block a user