Skip to content

Latest commit

 

History

History
executable file
·
9 lines (6 loc) · 322 Bytes

File metadata and controls

executable file
·
9 lines (6 loc) · 322 Bytes

Step 6. Set lighting

Setting the lighting for the cube to make it look more realistic. Lighting is added using 77 lines of code. There are 530 Javascript lines for now.

Set lighting

Run the cube in your browser