From 627186abc8cec01cf7099706d023d079e168fd4e Mon Sep 17 00:00:00 2001
From: Romain Guy
Skybox's intensity in cd/m2.
+ * Returns the Skybox's intensity in lux, or lumen/m^2.
*/
public float getIntensity() { return nGetIntensity(getNativeObject()); }
diff --git a/filament/include/filament/IndirectLight.h b/filament/include/filament/IndirectLight.h
index 8c9ab31d3e..166dcc2bb6 100644
--- a/filament/include/filament/IndirectLight.h
+++ b/filament/include/filament/IndirectLight.h
@@ -220,7 +220,7 @@ public:
* range can be adjusted with this method.
*
* @param envIntensity Scale factor applied to the environment and irradiance such that
- * the result is in cd/m^2 (lux) units (default = 30000)
+ * the result is in lux, or lumen/m^2 (default = 30000)
*
* @return This Builder, for chaining calls.
*/
@@ -260,12 +260,12 @@ public:
* range can be adjusted with this method.
*
* @param intensity Scale factor applied to the environment and irradiance such that
- * the result is in cd/m^2 units (default = 30000)
+ * the result is in lux, or lumen/m^2(default = 30000)
*/
void setIntensity(float intensity) noexcept;
/**
- * Returns the environment's intensity in cd/m^2.
+ * Returns the environment's intensity in lux, or lumen/m^2.
*/
float getIntensity() const noexcept;
diff --git a/filament/include/filament/Skybox.h b/filament/include/filament/Skybox.h
index 4a0b919379..6279e493de 100644
--- a/filament/include/filament/Skybox.h
+++ b/filament/include/filament/Skybox.h
@@ -112,7 +112,7 @@ public:
*
*
* @param envIntensity Scale factor applied to the skybox texel values such that
- * the result is in cd/m^2 (lux) units (default = 30000)
+ * the result is in lux, or lumen/m^2 (default = 30000)
*
* @return This Builder, for chaining calls.
*
@@ -167,7 +167,7 @@ public:
uint8_t getLayerMask() const noexcept;
/**
- * Returns the skybox's intensity in cd/m^2.
+ * Returns the skybox's intensity in lux, or lumen/m^2.
*/
float getIntensity() const noexcept;