diff --git a/src/pe/raytracing/Lighting.h b/src/pe/raytracing/Lighting.h index 507eb255ea9c9b73dbfadd24a5cb1e8af3b065d0..ce2778c343b6ad08feae7dc9afbf495ce9d528bc 100644 --- a/src/pe/raytracing/Lighting.h +++ b/src/pe/raytracing/Lighting.h @@ -28,6 +28,8 @@ namespace walberla { namespace pe { namespace raytracing { +/*!\brief The Lighting struct defines the properties of a point light in the scene. + */ struct Lighting { Vec3 pointLightOrigin; Color diffuseColor; @@ -42,9 +44,9 @@ struct Lighting { /*!\brief Instantiation constructor for the Lighting struct. * \param pointLightOrigin Origin of the point light. - * \param diffuseColor Diffuse color. - * \param specularColor Specular color. - * \param ambientColor Color of the ambient light. + * \param diffuseColor Diffuse color (base color of the light). + * \param specularColor Specular color (color of light refractions on an objects surface). + * \param ambientColor Color of the ambient light in the scene. */ Lighting (const Vec3& _pointLightOrigin, const Color& _diffuseColor, const Color& _specularColor, const Color& _ambientColor) diff --git a/src/pe/raytracing/ShadingFunctions.h b/src/pe/raytracing/ShadingFunctions.h index 9fd267cc9138904d27064fc1ecbe95412dba6270..a4d22b5cc8b16ea414b5fb2d59dd27965b6be8c2 100644 --- a/src/pe/raytracing/ShadingFunctions.h +++ b/src/pe/raytracing/ShadingFunctions.h @@ -39,6 +39,7 @@ inline ShadingParameters lightGreyShadingParams (const BodyID body); inline ShadingParameters greyShadingParams (const BodyID body); inline ShadingParameters darkGreyShadingParams (const BodyID body); inline ShadingParameters redShadingParams (const BodyID body); +inline ShadingParameters greenShadingParams (const BodyID body); inline ShadingParameters blueShadingParams (const BodyID body); inline ShadingParameters violetShadingParams (const BodyID body);