updata
This commit is contained in:
@@ -259,12 +259,12 @@ namespace UltimateWater
|
||||
}
|
||||
if (_ParticlesRenderInfo == null)
|
||||
{
|
||||
_ParticlesRenderInfo = new ComputeBuffer(1, 16, ComputeBufferType.DrawIndirect);
|
||||
_ParticlesRenderInfo = new ComputeBuffer(1, 16, ComputeBufferType.IndirectArguments);
|
||||
_ParticlesRenderInfo.SetData(new int[4] { 0, 1, 0, 0 });
|
||||
}
|
||||
if (_ParticlesUpdateInfo == null)
|
||||
{
|
||||
_ParticlesUpdateInfo = new ComputeBuffer(1, 12, ComputeBufferType.DrawIndirect);
|
||||
_ParticlesUpdateInfo = new ComputeBuffer(1, 12, ComputeBufferType.IndirectArguments);
|
||||
_ParticlesUpdateInfo.SetData(new int[3] { 0, 1, 1 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user