hair particle fix

This commit is contained in:
Turanszki Janos
2020-04-18 12:05:56 +01:00
parent 5e8078a7eb
commit a0690701aa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ void main(uint3 DTid : SV_DispatchThreadID, uint3 Gid : SV_GroupID, uint groupIn
float length2 = meshVertexBuffer_length[i2];
// random barycentric coords:
float2 uv = hammersley2d(DTid.x, xHairStrandCount);
float2 uv = float2((Gid.x + 1.0f) / (float)xHairNumDispatchGroups, (DTid.x + 1.0f) / (float)THREADCOUNT_SIMULATEHAIR);
float seed = xHairRandomSeed;
float f = rand(seed, uv);
float g = rand(seed, uv);
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wiVersion
// minor features, major updates
const int minor = 39;
// minor bug fixes, alterations, refactors, updates
const int revision = 68;
const int revision = 67;
long GetVersion()