From fdb439b32436e73b2f7437f3886f59f7fbc298f2 Mon Sep 17 00:00:00 2001 From: ahcorde Date: Tue, 22 Dec 2020 22:19:22 +0100 Subject: [PATCH 1/2] Added render order to material msgs Signed-off-by: ahcorde --- proto/ignition/msgs/material.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/ignition/msgs/material.proto b/proto/ignition/msgs/material.proto index 22913884..8e0fa57f 100644 --- a/proto/ignition/msgs/material.proto +++ b/proto/ignition/msgs/material.proto @@ -117,4 +117,6 @@ message Material /// \brief Physically Based Rendering (PBR) material properties PBR pbr = 10; + + double render_order = 11; } From c34b4572f7eb58e99468791584d72170037196d4 Mon Sep 17 00:00:00 2001 From: ahcorde Date: Tue, 22 Dec 2020 23:44:11 +0100 Subject: [PATCH 2/2] Added documentation Signed-off-by: ahcorde --- proto/ignition/msgs/material.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/ignition/msgs/material.proto b/proto/ignition/msgs/material.proto index 8e0fa57f..dd0dceed 100644 --- a/proto/ignition/msgs/material.proto +++ b/proto/ignition/msgs/material.proto @@ -118,5 +118,7 @@ message Material /// \brief Physically Based Rendering (PBR) material properties PBR pbr = 10; + /// \brief Render order. The higher value will be rendered on top of the + /// other coplanar polygons double render_order = 11; }