Book Image

Three.js Cookbook

By : Jos Dirksen
Book Image

Three.js Cookbook

By: Jos Dirksen

Overview of this book

Table of Contents (15 chapters)
Three.js Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Three.js provides a large number of light sources out of the box. In this chapter, we'll show you a number of recipes that work on lights and also show you how to get the most out of the lighting options provided by Three.js. We'll also show you two advanced recipes that explain how you can access the raw features of WebGL by creating your own custom vertex and fragment shaders.