Skip to content

Commit

Permalink
Added descriptions to reflection colors
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamLewww committed May 25, 2022
1 parent 1ac8a12 commit 783e7d4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions proto/gz/msgs/material.proto
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,19 @@ message Material
Script script = 2;
ShaderType shader_type = 3;
string normal_map = 4;

/// \brief Ambient color
Color ambient = 5;

/// \brief Diffuse color
Color diffuse = 6;

/// \brief Specular color
Color specular = 7;

/// \brief Emissive color
Color emissive = 8;

bool lighting = 9;

/// \brief Physically Based Rendering (PBR) material properties
Expand All @@ -128,4 +137,7 @@ message Material
/// \brief If true, the mesh that this material is applied to will be
/// rendered as double sided
bool double_sided = 12;

/// \brief Specular exponent
double shininess = 13;
}
9 changes: 9 additions & 0 deletions proto/ignition/msgs/material.proto
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,19 @@ message Material
Script script = 2;
ShaderType shader_type = 3;
string normal_map = 4;

/// \brief Ambient color
Color ambient = 5;

/// \brief Diffuse color
Color diffuse = 6;

/// \brief Specular color
Color specular = 7;

/// \brief Emissive color
Color emissive = 8;

bool lighting = 9;

/// \brief Physically Based Rendering (PBR) material properties
Expand Down

0 comments on commit 783e7d4

Please sign in to comment.