Join Engin Arslan for an in-depth discussion in this video MeshBasicMaterial, part of Learning 3D Graphics on the Web with Three.js.
- [Instructor] In this chapter,…I will start off with a new, different scene file…to illustrate the Three.js materials a bit better.…You can find this file among the exercise files.…As you know, when creating an object,…you need two things, a geometry and the material.…Materials define the appearance of the objects.…Materials can also help your scene…look incredibly realistic.…Let's see what kind of materials…are available in Three.js and what kind of…parameters they work with.…As you can see, I made a lot of changes to this file,…so if you have been following along,…you might want to pick up this exercise file.…
Here, I have a function called getMaterial…that allows me to choose a desired type of material…in an easy manner by passing in a string…that designates the material type.…I can also optionally pass a color variable…to set the color of the material as well.…Right now, it is providing me with the MeshBasicMaterial.…If you are to take a look at the getMaterial function,…you will notice that it simply consists…
- 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
Adobe Animate CC: HTML5 Canvas and WebGLwith Joseph Labrecque1h 36m Intermediate
HTML5: Graphics and Animation with Canvaswith Joe Marini3h 7m 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.