starting compute shader for tetrahedron intersections
This commit is contained in:
25
Platformer/shaders/intersect.comp
Normal file
25
Platformer/shaders/intersect.comp
Normal file
@@ -0,0 +1,25 @@
|
||||
#version 430
|
||||
|
||||
layout(std430, binding=0) buffer TetraVerts
|
||||
{
|
||||
vec4 tetraVerts[];
|
||||
};
|
||||
|
||||
layout(std430, binding=1) buffer TetraInds
|
||||
{
|
||||
uint tetraInds[];
|
||||
};
|
||||
|
||||
layout(std430, binding=2) buffer PolyVerts
|
||||
{
|
||||
vec4 polyVerts[];
|
||||
};
|
||||
|
||||
layout(std430, binding=3) buffer EdgeInds
|
||||
{
|
||||
uint edgeInds[];
|
||||
};
|
||||
|
||||
void main () {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user