i tried to take and edit the source code of the next page - http://learningwebgl.com/lessons/lesson10/index.html.
i changed all the relative files paths to an absolute files paths in the site (for exsample, instand of “mud.gif”, i wrote “http://learningwebgl.com/lessons/lesson10/mud.gif”), and it’s not working! (I see black square…)
what is wrong?
I’m guessing here, but I think due to the nature of WebGL and security issues, it won’t allow the .htm file to come from one directory, and any other files to come from a different directory.
I believe the spec may even allude to this issue.
Update - it was an IIS problem. now it’s ok.
What exactly did you do? I have the same problem, all I can get is a black square when I run the code from my computer.