Table of Contents

WebGLFundamentals.org

WebGL Shadows

Lets draw some shadows!

Prerequisites

Computing shadows is not that hard but it does require a lot of background knowledge. To understand this article you need already understand the following topics.

Orthographic Projection Perspective Projection Textures Render to Texture Projecting textures Visualizing the Camera

So if you haven't read those please go read them first.

On top of that this article assumes you've read the article on less code more fun as it uses the library mentioned there so as to unclutter the example. If you don't understand when a function named webglUtils.setBuffersAndAttributes what it means to set the buffers and attributes, or when a function named webglUtils.setUniforms what it means to set uniforms, etc... then you should probably to go further back and read the fundamentals.

Questions? Ask on stackoverflow.
Issue/Bug? Create an issue on github.
comments powered by Disqus