Using dat.gui is very easy.…You just need to instantiate the dat.gui…and then use this add method to add the…perimeters that you would like to control,…through a user interface.…So here, I will be creating a new variable called…gui and will instantiate dat.gui…and say you would like to control…the intensity of the lights,…through a user interface.…The way to control the intensity in three chairs…will be like this.…I will select a pointlight…and set it's intensity value to something like, say, 2.…
Let's check out our scene.…And now we can see the light beam right there…
- Building a simple scene
- Creating three.js 3D objects
- Adding light and shadows
- Animating with Tween.js
- Working with materials and textures
- Editing and importing geometries
- Creating a particle system
- Post-processing with effects and shaders
Skill Level Intermediate
1. Building a Simple Scene
2. Three.js Scene Object
5. Materials and Textures
Next steps1m 53s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.