Skip to content

Commit a063911

Browse files
authored
docs
1 parent 9741865 commit a063911

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/webgl/light.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -600,14 +600,14 @@ p5.prototype.imageLight = function (img) {
600600
};
601601

602602
/**
603-
* The `panorama(img)` method adeptly transforms images such as
604-
* maps usually in rectangular format, HDRIs into immersive
605-
* 360-degree views. This is similar to calling `background(color)`;
606-
* call `panorama(img)` before drawing your scene to create a 360-degree
607-
* background from your image. It operates on the concept of sphere mapping,
608-
* where the image is manipulated to resemble a sphere by adjusting
609-
* camera angles. Using this method, a comprehensive 360-degree view of
610-
* a scene can be obtained.
603+
* The `panorama(img)` method transforms images containing
604+
* 360-degree content, such as maps or HDRIs, into immersive
605+
* 3D backgrounds that surround your scene. This is similar to calling
606+
* `background(color)`; call `panorama(img)` before drawing your
607+
* scene to create a 360-degree background from your image. It
608+
* operates on the concept of sphere mapping, where the image is
609+
* mapped onto an infinitely large sphere based on the angles of the
610+
* camera.
611611
*
612612
* To enable 360-degree viewing, either use `orbitControl()` or try changing
613613
* the orientation of the camera to see different parts of the background.

0 commit comments

Comments
 (0)