break up gameplay stuff

This commit is contained in:
2024-08-13 08:38:21 +10:00
parent 5b97a02288
commit dc88042a36
13 changed files with 448 additions and 132 deletions

View File

@ -22,7 +22,7 @@ vertex FragmentInput vertexMain(
FragmentInput out;
out.position = ndc;
out.color = half4(i[instanceID].color);
out.color = half4(i[instanceID].color) / 255.0;
out.normal = vtx[vertexID].normal;
out.texCoord = vtx[vertexID].texCoord;
return out;