Book Image

WebGL HOTSHOT

By : Mitch Williams
Book Image

WebGL HOTSHOT

By: Mitch Williams

Overview of this book

Table of Contents (17 chapters)
WebGL HOTSHOT
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Mission briefing


Web advertisements must download fast. That's a concern because artists like to build nice 3D models where the file size is hardly a consideration. At the same time, we want to show off the best features of interactive Web3D that will grab the viewer's attention. The features that best highlight 3D are often found in lighting and immersive environments. The technology behind much of this is shader languages—pixel-by-pixel calculations in the graphics card. We will first program a shader language to animate textures and 3D meshes in order to create waving flags, waterfalls, and change sand to greenery. Next, we will animate lights and cameras to demonstrate fascinating scenes with neon and light bulbs. Finally, we will enable the user to navigate through the scene, allowing the user to move the camera with the mouse and keyboard, and then solve some of the difficult issues of lighting in foggy or nighttime scenes.

Why is it awesome?

If you are an advertiser or designer, you...