[orx-dnk3] Add feature architecture and post processing effects
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
int gridIndex(ivec3 p, ivec3 probeCounts) {
|
||||
ivec3 c = clamp(p, ivec3(0), probeCounts - ivec3(1));
|
||||
return c.x + c.y * probeCounts.x + c.z * probeCounts.x * probeCounts.y;
|
||||
}
|
||||
Reference in New Issue
Block a user