image distortion mask (#862)

This commit is contained in:
Turánszki János
2024-06-13 08:04:43 +02:00
committed by GitHub
parent 513108cf03
commit 43d485b417
24 changed files with 270 additions and 49 deletions
+1 -1
View File
@@ -749,7 +749,7 @@ void MeshWindow::Create(EditorComponent* _editor)
{
const MeshComponent::MeshSubset& subset = mesh->subsets[subsetIndex];
float threshold = wi::math::Lerp(0, 0.9f, wi::math::saturate(lodQualitySlider.GetValue()));
float threshold = wi::math::Lerp(0, 0.9f, saturate(lodQualitySlider.GetValue()));
for (size_t i = 1; i < lod_count; ++i)
{
wi::vector<unsigned int>& lod = lods[i].subsets[subsetIndex].indices;