This repository has been archived on 2025-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
|
#pragma kernel CSMain
|
|
|
|
RWTexture3D<uint> RG0;
|
|
|
|
int Res;
|
|
|
|
[numthreads(16,16,1)]
|
|
void CSMain (uint3 id : SV_DispatchThreadID)
|
|
{
|
|
for (int i = 0; i < Res; i++)
|
|
{
|
|
RG0[uint3(id.xy, i)] = 0;
|
|
}
|
|
}
|