Some clean up in the mesh renderer

This commit is contained in:
2026-08-09 17:59:37 -04:00
parent 73aa4a846b
commit fb020d16e5
15 changed files with 60 additions and 34 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ Output main(uint vertexIndex : SV_VertexID)
float4 worldPos = mul(Model, float4(pos, 1.0f));
output.Position = mul(ViewProjection, worldPos);
output.Color = col;
output.Color = col * MeshAlbedo;
output.WorldPosition = worldPos.xyz;
float3 worldNormal = mul((float3x3)Model, normal);