Book Image

CryENGINE 3 Cookbook

By : Dan Tracy, Sean P Tracy (USD)
Book Image

CryENGINE 3 Cookbook

By: Dan Tracy, Sean P Tracy (USD)

Overview of this book

With every successive console generation, the cost, time, and complexity of developing games has grown. Meet CryENGINE3, a middleware engine that is the perfect fit for most developers allowing users to exceed current generation quality standards while using less people and time than ever thought possible.The CryENGINE3 CookBook is packed full of recipes for junior and senior developers alike. It covers everything from creating photo realistic architectural visualizations to implementing advanced physics such as ragdoll and tornado effects. Topics covered include the sandbox, level layout, environment creation, AI, character creation, creating vehicles, and game logic. Every recipe is designed to add AAA quality to your games. The CryENGINE3 SDK has many tools immediately available to developers of all disciplines. For designers the book has recipes for building up your own levels and populating your levels with intelligent AI and photo realistic assets. For artists we have recipes for practical workflow tools and techniques used when working with the advanced CryENGINE shaders and materials. For animators we have recipes that will bring your creations to life using skinned characters and advanced animation systems like locomotion groups. Finally for programmers we have recipes that show how to employ the core mechanics behind entities such as vehicles and weapons while also utilizing the strengths of the physics engine to create a unique and exciting game.
Table of Contents (18 chapters)
CryENGINE 3 Cookbook
Credits
About the Authors
www.PacktPub.com
Preface
Index

Adjusting the terrain lighting


Having learned how to set up a basic time of day parameter, the next step will be to adjust the level's lighting direction and dynamic characteristics using the Terrain Lighting dialog. This tool allows you to set the direction from which the sun rises as well as the distance your location is from the North Pole to the South Pole.

Getting ready

For this tutorial, you should have the forest level forest.cry opened. This level was installed as a sample level upon the installation of the CryENGINE SDK.

How to do it...

We will now explore the terrain lighting dialog:

  1. Open the terrain Lighting Tool by clicking the Terrain section of the main toolbar and then lighting.

  2. Under the Sun Settings section there are two sliders. Adjust the first slider called Sun direction (map orientation) to the centre most point on the slider. This aligns the sun so that it rises in the east and sets in the west.

    Note

    North is assumed to be y+ in the cryENGINE.

  3. Next, adjust the second slider...