diff --git a/src/webgl/light.js b/src/webgl/light.js
index cd8db3273c..815dfec4d9 100644
--- a/src/webgl/light.js
+++ b/src/webgl/light.js
@@ -473,7 +473,7 @@ function light(p5, fn){
* three parameters, `v1`, `v2`, and `v3`, set the light’s color using the
* current colorMode(). The last parameter,
* `direction` sets the light’s direction using a
- * p5.Geometry object. For example,
+ * p5.Vector object. For example,
* `directionalLight(255, 0, 0, lightDir)` creates a red `(255, 0, 0)` light
* that shines in the direction the `lightDir` vector points.
*
@@ -488,7 +488,7 @@ function light(p5, fn){
* parameter, `color`, sets the light’s color using a
* p5.Color object or an array of color values. The
* second parameter, `direction`, sets the light’s direction using a
- * p5.Color object. For example,
+ * p5.Vector object. For example,
* `directionalLight(myColor, lightDir)` creates a light that shines in the
* direction the `lightDir` vector points with the color value of `myColor`.
*