Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
CryENGINE 3 Cookbook

You're reading from   CryENGINE 3 Cookbook Over 90 recipes written by Crytek developers for creating third-generation real-time games

Arrow left icon
Product type Paperback
Published in Jun 2011
Publisher Packt
ISBN-13 9781849691062
Length 324 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Sean P Tracy Sean P Tracy
Author Profile Icon Sean P Tracy
Sean P Tracy
Dan Tracy Dan Tracy
Author Profile Icon Dan Tracy
Dan Tracy
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

CryENGINE 3 Cookbook
Credits
About the Authors
www.PacktPub.com
Preface
1. CryENGINE 3: Getting Started FREE CHAPTER 2. Sandbox Basics 3. Basic Level Layout 4. Environment Creation 5. Basic Artificial Intelligence 6. Asset Creation 7. Characters and Animation 8. Creating Vehicles 9. Game Logic 10. Track View and Cut-Scenes 11. Fun Physics 12. Profiling and Improving Performance 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image