245

Lighting the environment

Motivation 
 246
Example 
 247
Light class hierarchy 
 248
Light class methods 
 249
Creating ambient lights 
 250
AmbientLight example code 
 251
Creating directional lights 
 252
DirectionalLight example code 
 253
Creating point lights 
 254
Using point light attenuation 
 255
PointLight example code 
 256
Creating spot lights 
 257
SpotLight class methods 
 258
SpotLight example code 
 259
Using light influencing bounds 
 260
Creating influencing bounds 
 261
Anchoring influencing bounds 
 262
Light class methods 
 263
Influencing bounds example code 
 264
Influencing bounds example 
 265
Scoping lights 
 266
Light class methods 
 267
Scoping example code 
 268
Scoping Example 
 269
Summary 
 270
Summary 
 271