sketchpunk/FunWithWebGL2

Viewer.html script tag

Opened this issue · 1 comments

Hi,
Thanks so much for sharing these tutorials.

Please review the viewer.html files. In the script tag, shaders.js was referenced and the file name is Shaders.js (which was capitalized).

A reference error occurs because of this filename (since it is case-sensitive):

ReferenceError: ShaderUtil is not defined

I've also been observed this issue - on Linux.

The suggested fix works for me.