mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-25 06:58:00 +01:00
15 lines
208 B
Text
15 lines
208 B
Text
|
#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;
|
||
|
}
|
||
|
}
|