Adjust snowfall noise

This commit is contained in:
2023-10-30 11:41:57 +01:00
parent b666bd7968
commit 3206512cfb
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ float4 main(float2 uv : TEXCOORD) : COLOR
float2 tiledUV = uv * FlakeSize;
// Get the random value to decide where to place a snowflake
float randVal = snoise(floor(tiledUV));
float randVal = (snoise(floor(tiledUV)) + 1) / 2;
// Generate a dynamic circular snowflake if within the threshold
if (randVal > Threshold)
Binary file not shown.
+1 -1
View File
@@ -6,7 +6,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseFile>License.txt</PackageLicenseFile>
<Version>0.7.4</Version>
<Version>0.7.5</Version>
<LangVersion>latest</LangVersion>
<Description>Extension library for Windows Presentation Platform.