WebGL Game Development by Sumeet Arora is a set-by-step, example-based tutorial that provides details on gaming logic using WebGL. The book is about 387 pages and includes 10 chapters.
- Chapter one, Getting Started with WebGL Game Development, covers an introduction to WebGL, basic mathematics such as vectors, matrices and understanding transformations. Also covers a walk-through of initializing WebGL and finally drawing primitives using shaders.
- Chapter two, Colors and Shading Languages, covers how to export 3D model in the format of .Obj from blender and convert the information of model to Json format. Also covers how to render the models using various shading techniques such as Lambert, Blinn-Phong, Flat Shading and etc.
- Chapter three, Loading the Game Scenes, demonstrate how to load the game scene and lighting up the scene using multiple lights and shaders.
- Chapter four, Applying Textures, covers how to sample the textures for primitives. Also it will help you how to parsing UV coordinates from blender in the json format. It will help you to understand mip-mapping technique and types of filtering modes. In the final section of this chapter you will learn about cube mapping and multi-texturing techniques.
- Chapter five, Camera and User Interaction, introduces model-view & perspective transformations in order to implement the free camera and orbit camera. Also learns how to handle the mouse & keyboard interactions.
- Chapter six, Applying Textures and Simple Animations to Our Scene, in this chapter, you will apply textures to the scene and also you will animate the objects. It will start by simulating a first-person camera and take it forward by giving weapons to the character in 5000 AD. This chapter will introduce you to different animation techniques used in game engines.
- Chapter eight, Skinning and Animations, covers basic understanding of simple skinning and smooth skinning. It will help you how to load animation data for rigged model. It will help you how to export 3D models from Blender or any other formats such as FBX/Collada/3DS/MD5Mesh and MD5Anim.
- Chapter nine, Ray Casting and Filters, presents the following topics: Basic concepts of ray casting, how to use ray casting in order to implementing picking, FrameBuffers and implementing filters using framebuffers.
- Chapter ten, 2D Canvas and Multiplayer Games, discuss the concepts of HTML-based multiplayer games. It will then discuss Node.js and the Socket.IO API to implement a spectator player who can see what is happening in the game.
In abstract, the book contains a lot of knowledge and interesting topics. The good news is “I have teamed up with Packt to give away 4 copies of this book. All you need to win them is to check the product description here and write in the comments sections about what interests you most about the book , 4 best comments will be selected as winners”