Forward+ Fixes

This commit is contained in:
viktorljung
2015-12-16 13:36:38 +01:00
parent 1431bd1a11
commit 5602b32507
5 changed files with 56 additions and 42 deletions
+7 -2
View File
@@ -67,7 +67,12 @@ void main ()
Frustums.Data[gl_GlobalInvocationID.x + gl_GlobalInvocationID.y*80] = f;
if ( gl_GlobalInvocationID.x < ScreenDimensions.x / TILE_SIZE && gl_GlobalInvocationID.y < ScreenDimensions.y / TILE_SIZE ) { // innanför skärmen?
Frustums.Data[gl_GlobalInvocationID.x + gl_GlobalInvocationID.y*80] = f;
}
}
}