Mesh_Renderer carries a colour and the mesh pipeline draws with depth #70
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/cinnabar#70
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Part of #67.
What to build
A
Mesh_Renderercan be coloured, and the mesh pipeline draws with a depth buffer. The Component gains acolourfield defaulting to white, which the pipeline copies into the Push-Constant Prelude payload and the shader multiplies with the vertex colour and the Pass tint. The grid-offset logic leaves the shader. The mesh Pass gains aD32_FloatVirtual Resource sized from the swapchain description, wired as a depth attachment cleared to 1.0, and the pipeline enables depth test and depth write. Headless runs the same declaration against configured defaults.The existing sample keeps building and its surviving tests keep passing; its grid payload use goes because the grid itself goes in the sample rewrite.
Acceptance criteria
Mesh_Renderer's colour appears in its Draw Record payload.D32_Float; the pipeline has depth test and write enabled.just shaders.Blocked by