First render

This commit is contained in:
Dynamitos
2020-10-23 01:47:56 +02:00
parent 8d4c43361b
commit b4fc5df74e
21 changed files with 128 additions and 43 deletions
+1 -1
View File
@@ -73,5 +73,5 @@ float4 fragmentMain(
}
return float4(result, 1);
return float4(0, 1, 0, 1);
}
+1
View File
@@ -1,3 +1,4 @@
#pragma pack_matrix(column_major)
const static float PI = 3.1415926535897932f;
const static uint MAX_PARTICLES = 65536;
const static uint BLOCK_SIZE = 8;
+1
View File
@@ -2,6 +2,7 @@ struct PrimitiveSceneData
{
float4x4 localToWorld;
float4x4 worldToLocal;
float4 actorLocation;
};
layout(set = 3, binding = 0, std430)