reduced volumetric cloud mask memory usage

This commit is contained in:
Turánszki János
2025-02-08 18:58:20 +01:00
parent 5ec1ca4904
commit 716e4eab4b
3 changed files with 6 additions and 4 deletions
@@ -13,7 +13,7 @@ Texture2D<float> cloud_additional_history : register(t4);
RWTexture2D<float4> output : register(u0);
RWTexture2D<float2> output_depth : register(u1);
RWTexture2D<float> output_additional : register(u2);
RWTexture2D<unorm float4> output_cloudMask : register(u3);
RWTexture2D<unorm float> output_cloudMask : register(u3);
static const float2 temporalResponseMinMax = float2(0.5, 0.9);
+3 -1
View File
@@ -15869,7 +15869,9 @@ void CreateVolumetricCloudResources(VolumetricCloudResources& res, XMUINT2 resol
device->SetName(&res.texture_reproject_additional[0], "texture_reproject_additional[0]");
device->CreateTexture(&desc, nullptr, &res.texture_reproject_additional[1]);
device->SetName(&res.texture_reproject_additional[1], "texture_reproject_additional[1]");
desc.format = Format::R8G8B8A8_UNORM;
desc.format = Format::R8_UNORM;
desc.swizzle = SwizzleFromString("rrr1");
device->CreateTexture(&desc, nullptr, &res.texture_cloudMask);
device->SetName(&res.texture_cloudMask, "texture_cloudMask");
}
+2 -2
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 675;
const int revision = 676;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);
@@ -30,7 +30,7 @@ namespace wi::version
return version_string.c_str();
}
#define SUPPORTERS "Nemerle, James Webb, Quifeng Jin, TheGameCreators, Joseph Goldin, Yuri, Sergey K, Yukawa Kanta, Dragon Josh, John, LurkingNinja, Bernardo Del Castillo, Invictus, Scott Hunt, Yazan Altaki, Tuan NV, Robert MacGregor, cybernescence, Alexander Dahlin, blueapples, Delhills, NI NI, Sherief, ktopoet, Justin Macklin, Cédric Fabre, TogetherTeam, Bartosz Boczula, Arne Koenig, Ivan Trajchev, nathants, Fahd Ahmed, Gabriel Jadderson, SAS_Controller, Dominik Madarász, Segfault, Mike amanfo, Dennis Brakhane, rookie, Peter Moore, therealjtgill, Nicolas Embleton, Desuuc, radino1977, Anthony Curtis, manni heck, Matthias Hölzl, Phyffer, Lucas Pinheiro, Tapkaara, gpman, Anthony Python, Gnowos, Klaus, slaughternaut, Paul Brain, Connor Greaves, Alexandr, Lee Bamber, MCAlarm MC2, Titoutan, Willow, Aldo, lokimx, K. Osterman, Nomad, ykl, Alex Krokos, Timmy, Avaflow, mat, Hexegonel Samael Michael, Joe Spataro, soru, GeniokV, Mammoth, Ignacio, datae, Jason Rice, MarsBEKET, Tim, Twisty, Zelf ieats kiezen, Romildo Franco, zNachoh, Dmitriy, Alex Minerva, Stefan Kent, Natty, Sunny Krishna, Vilmos Malárik, Ferrata, Rossakis, Stefana Andrei, Taylor, Gunnar Kriik, 赟 杨, Rex, Lemon Brother, fixy, meta_leap, Edik, jusik5348, Agnares"
#define SUPPORTERS "Nemerle, James Webb, Quifeng Jin, TheGameCreators, Joseph Goldin, Yuri, Sergey K, Yukawa Kanta, Dragon Josh, John, LurkingNinja, Bernardo Del Castillo, Invictus, Scott Hunt, Yazan Altaki, Tuan NV, Robert MacGregor, cybernescence, Alexander Dahlin, blueapples, Delhills, NI NI, Sherief, ktopoet, Justin Macklin, Cédric Fabre, TogetherTeam, Bartosz Boczula, Arne Koenig, Ivan Trajchev, nathants, Fahd Ahmed, Gabriel Jadderson, SAS_Controller, Dominik Madarász, Segfault, Mike amanfo, Dennis Brakhane, rookie, Peter Moore, therealjtgill, Nicolas Embleton, Desuuc, radino1977, Anthony Curtis, manni heck, Matthias Hölzl, Phyffer, Lucas Pinheiro, Tapkaara, gpman, Anthony Python, Gnowos, Klaus, slaughternaut, Paul Brain, Connor Greaves, Alexandr, Lee Bamber, MCAlarm MC2, Titoutan, Willow, Aldo, lokimx, K. Osterman, Nomad, ykl, Alex Krokos, Timmy, Avaflow, mat, Hexegonel Samael Michael, Joe Spataro, soru, GeniokV, Mammoth, Ignacio, datae, Jason Rice, MarsBEKET, Tim, Twisty, Zelf ieats kiezen, Romildo Franco, zNachoh, Dmitriy, Alex Minerva, Stefan Kent, Natty, Sunny Krishna, Vilmos Malárik, Ferrata, Rossakis, Stefana Andrei, Taylor, Gunnar Kriik, 赟 杨, Rex, Lemon Brother, fixy, meta_leap, Edik, jusik5348, Agnares, Fred Naar"
const char* GetCreditsString()
{