Skip navigation

Lighting in three.js

Lighting in three.js: Learning 3D Graphics on the Web with Three.js
Lighting in three.js: Learning 3D Graphics on the Web with Three.js

The objects are looking flat since there is no surface shading. You will update the current material to PhongMaterial to be able to start getting surface shading on materials. You will then notice objects are not visible anymore and the reason for that is the scene doesn't have any lights. When using materials other than basic material you need to have a light in the scene for things to be visible.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 51m
Duration
9,688
Views
Show More Show Less
Skills covered in this course
Web Web Graphics JavaScript

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now