Skip to main content

History: -Light

Preview of version: 9

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | 0-9


Light_1.png
Light is needed to make something visible.

Types of Lights


There are three types of lighting that Ogre provides.

Point: Point light sources emit light from them in every direction.

Spotlight: A spotlight works exactly like a flashlight does. You have a position where the light starts, and then light heads out in a direction. You can also tell the light how large of an angle to use for the inner circle of light and the outer circle of light (you know how flashlights are brighter in the center, then lighter after a certain point?).

Directional: Directional light simulates far away light that hits everything in the scene from a direction. Lets say you have a night time scene and you want to simulate moonlight. You could do this by setting the ambient light for the scene, but that's not exactly realistic since the moon does not light everything equally (neither does the sun). One way to do this would be to set a directional light and point in the direction the moon would be shining.

Light properties

Lights have a wide range of properties that describes how the light looks. Two of the most important properties of a light is its diffuse and specular color. Each material script defines how much diffuse and specular lighting the material reflects.

See also


A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | 0-9


History

Information Version
Tue 08 of Feb, 2011 00:29 GMT-0000 spacegaier made light types bold for better readibility 12
Thu 03 of Feb, 2011 16:08 GMT-0000 Beauty added tutorial link 11
Wed 29 of Sep, 2010 15:30 GMT-0000 Beauty added link to ((Mogre Basic Tutorial 2 )) 10
Tue 13 of Jul, 2010 23:44 GMT-0000 sarcacid fixed lexicon link 9
Tue 13 of Jul, 2010 23:44 GMT-0000 sarcacid 8
Fri 08 of Jan, 2010 01:02 GMT-0000 jacmoe 7
Fri 08 of Jan, 2010 01:01 GMT-0000 jacmoe 6
Tue 29 of Dec, 2009 10:06 GMT-0000 jacmoe 5
Tue 29 of Dec, 2009 05:14 GMT-0000 jacmoe 4
Tue 29 of Dec, 2009 05:13 GMT-0000 jacmoe 3
Tue 29 of Dec, 2009 05:12 GMT-0000 jacmoe 2
Thu 13 of Aug, 2009 20:06 GMT-0000 Spacegaier added it to the lexicon 1