Book Image

CryENGINE 3 Game Development: Beginner's Guide

Book Image

CryENGINE 3 Game Development: Beginner's Guide

Overview of this book

CryENGINE is a complete game development environment used by AAA game development studio Crytek to produce blockbuster games such as Crysis 1, 2 and 3. This complete Beginner's Guide takes the would be game developer through the steps required to create a game world complete with event scripting, user interface and 3D environment in the free CryENGINE SDK. Learn to create game worlds with the CryENGINE 3 Sandbox, the tool used to create AAA games like the soon to be released Crysis 3. Follow straightforward examples to sculpt the terrain, place vegetation, set up lighting, create game sounds, script with Lua and code with C++. Learn to navigate the interface within the CryENGINE 3 Sandbox, the tool used to create AAA games like Crysis 1 and 2, as well as the soon to be released Crysis 3. Learn to create your own worlds by following straight forward examples to sculpt the terrain, place vegetation, set up lighting, create game sounds, and script with the Lua language. The book covers all beginner aspects of game development including an introduction to C++ for non- coders.
Table of Contents (18 chapters)
CryENGINE 3 Game Development Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – create a light clipping box


In this example, we will create a light clipping box that will restrict a light to a certain area. This is extremely useful when lighting interiors, as spherical lights tend to bleed through walls.

  1. To test the process of using a light box, drag-and-drop LightBox from the Area tab in the Rollup Bar.

  2. Next, add a light to your scene.

  3. In the Lights entity link, add a link to the light box.

  4. The light has the DeferredClipBounds property set to True. Once setting it to True, you will see that the light will be clipped to that volume.

    A deferred light that is linked to either a light shape or a light box will be clipped to that volume regardless of whether it is inside the volume or not.

What just happened?

There is a common problem of light bleeding becoming apparent with the deferred approach—the boundaries of the lighting are not controllable. Deferred light, for example, placed in one room can bleed through the wall into another room. Thankfully, the light...