From 34a3ab1ef637038c61bbfee98dbfd7eaab68619e Mon Sep 17 00:00:00 2001 From: Artsiom Trubchyk Date: Wed, 20 Sep 2023 17:11:45 +0300 Subject: [PATCH] Change colors of the buster --- examples/scenes/blocksbuster/buster.go | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/examples/scenes/blocksbuster/buster.go b/examples/scenes/blocksbuster/buster.go index c486245..78cd70e 100644 --- a/examples/scenes/blocksbuster/buster.go +++ b/examples/scenes/blocksbuster/buster.go @@ -16,7 +16,7 @@ components { embedded_components { id: "mesh1" type: "mesh" - data: "material: \"/scene3d/materials/primitive_max_yellow_red.material\"\n" + data: "material: \"/scene3d/materials/primitive_salmon.material\"\n" "vertices: \"/scene3d/assets/meshes/primitive_tube.buffer\"\n" "textures: \"/scene3d/assets/textures/grid_10x10.png\"\n" "primitive_type: PRIMITIVE_TRIANGLES\n" @@ -85,7 +85,7 @@ embedded_components { embedded_components { id: "mesh2" type: "mesh" - data: "material: \"/scene3d/materials/primitive_max_yellow_red.material\"\n" + data: "material: \"/scene3d/materials/primitive_pacific_blue.material\"\n" "vertices: \"/scene3d/assets/meshes/primitive_cylinder.buffer\"\n" "textures: \"/scene3d/assets/textures/grid_10x10.png\"\n" "primitive_type: PRIMITIVE_TRIANGLES\n" @@ -113,12 +113,6 @@ embedded_components { " z: 0.0\n" " w: 0.0\n" "}\n" - "scale {\n" - " x: 0.005\n" - " y: 0.005\n" - " z: 0.005\n" - " w: 0.0\n" - "}\n" "color {\n" " x: 1.0\n" " y: 1.0\n" @@ -157,4 +151,9 @@ embedded_components { z: 0.0 w: 0.70710677 } + scale { + x: 0.005 + y: 0.005 + z: 0.005 + } }