hair particle fix
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user