Add black background
This commit is contained in:
parent
705f498daa
commit
77c5c23cf5
3 changed files with 20 additions and 10 deletions
|
|
@ -211,14 +211,14 @@ create_scene :: proc() {
|
|||
&g.coordinator,
|
||||
entity,
|
||||
ecs.MeshComponent{
|
||||
mesh_id = .CubeMesh
|
||||
mesh_id = .Cube
|
||||
})
|
||||
ecs.coordinator_add_component(
|
||||
ecs.MaterialComponent,
|
||||
&g.coordinator,
|
||||
entity,
|
||||
ecs.MaterialComponent{
|
||||
material_id = .GridTexture
|
||||
material_id = .Grid
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue