I have some questions
about the <script> tag for including vertex / fragment shaders in the
webpage. I see in the apple demo’s that they use “x-shader/x-vertex”
and “x-shader/x-fragment” as script type. Is this the proposed
standard type? I would prefer something like “text/glsl” or “text/shader”
Is there a way to
include binary or encoded shaders. I believe the real power of WebGL will be
in the shaders and I like to protect this.
What is the best way
to do full screen mode?
Carl van Heezik