-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ravbug
committed
Jun 23, 2024
1 parent
7cad458
commit 0c91862
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
Submodule RavEngine
updated
from 5d3a1b to 74ddc1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "utility.glsl" | ||
#include "AsteroidShared.glsl" | ||
|
||
uint choose_mesh(in ParticleData data, uint particleID){ | ||
|
||
uint ID = uint(round(rand(vec2(particleID,particleID)) * 3)); | ||
|
||
return ID; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"shader": "AsteroidMeshSelection.csh", | ||
"type": "mesh-particle-selection", | ||
"stage" : "compute" | ||
} |