From 26fb1fcafa552c600a70b2680c868f7355b138e4 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Wed, 12 Jun 2024 00:16:51 +1000 Subject: wip: uvsphere mesh gen and pbr shader first pass --- src/resources/gltf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/gltf.c') diff --git a/src/resources/gltf.c b/src/resources/gltf.c index dcb3d96..46ad4f3 100644 --- a/src/resources/gltf.c +++ b/src/resources/gltf.c @@ -380,7 +380,7 @@ bool model_load_gltf_str(const char *file_string, const char *filepath, str8 rel geometry_data *geometry = malloc(sizeof(geometry_data)); geometry->format = VERTEX_STATIC_3D; - geometry->colour = vec3(1, 1, 1); + geometry->colour = (rgba){ 1, 1, 1, 1 }; geometry->vertices = geo_vertices; geometry->indices = geo_indices; geometry->has_indices = has_indices; -- cgit v1.2.3-70-g09d2