forked from Dynamitos/Seele
Trying to add water
This commit is contained in:
1 parent
97244e87c1
commit
252a241208
43 files changed
+1408
-219
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import Common;
|
||||
import Scene;
|
||||
import WaterCommon;
|
||||
|
||||
groupshared WaterPayload p;
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
[shader("amplification")]
|
||||
void taskMain(
|
||||
uint threadID: SV_GroupThreadID,
|
||||
uint groupID: SV_GroupID, )
|
||||
{
|
||||
p = pWaterMaterial.tiles[groupID];
|
||||
DispatchMesh(1, 1, 1, p);
|
||||
}
|
||||
Reference in new issue
Block a user