A guide for creating lights in GLSL shaders

Oscar de la Hera Gomez
Two Flowers that represent ReactJS and ThreeJS side by side, beneath them sits the text "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.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details