A guide for creating lights in GLSL shaders
Resources and open source code for writing GLSL shaders that use lights in ThreeJS and ReactJS.
Most of the tutorials that we have written are based on content from OGLDev.
However, we recommend that you check out our React, ThreeJS & GLSL Resources to learn everything that we have to offer.
To learn how to write shaders that use ambient lights, directional lights, point lights, spot lights or a combination of them, consult the tutorial below.
Looking to learn more about ReactJS and ThreeJS ?
Search our blog to find educational content on learning how to use ReactJS and ThreeJS.