Viewport controls

This commit is contained in:
Dynamitos
2022-11-17 16:47:42 +01:00
parent f635ee2100
commit 4ba0bf3b45
73 changed files with 627 additions and 449 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ void computeFrustums(ComputeShaderInput in)
for(int i = 0; i < 4; i++)
{
viewSpace[i] = screenToView(screenSpace[i]).xyz;
viewSpace[i] = screenToClip(screenSpace[i]).xyz;
}
//Compute frustum