HTML and CSS Reference
In-Depth Information
Listing 9.9. index.html—Color, vertex, and shape shaders
OpenGL ES shading language cheat sheet
OpenGL ES is a subset of OpenGL aimed at embedded systems such as mobile phones,
game consoles, and similar devices. The Khronos Group has compiled a PDF for WebGL
that contains a cheat sheet on OpenGL ES Shading Language. It significantly helps with
writing your own custom shader scripts. Pick up your copy at http://mng.bz/1TA3 .
Step 2: Set up shader retrieval from the DOM
With your shader scripts configured, you need to process them via JavaScript. Replace
gd.core.shader.init() with the following listing in core.js.
Search WWH ::




Custom Search