Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A Different Lighting Tutorial?
locker Offline
Junior Member

Posts: 14
Threads: 1
Joined: Sep 2010
Reputation: 0
#3
RE: A Different Lighting Tutorial?

Box-light is artificial. It lits a boxed volume with no attenuation. Kinda like
an ambient light with limits.
Point light is a "point in space" that emits light to every direction from the point. Usually it has attenuation. I think Amnesia has quadratic attenuation , but it could be linear(not very natural) and other types of non linear attenuation based on some funky formulas Smile
Spot light is point light that has limits and direction. Basically if the dot product between the ray from pixel in world space to the light position and the direction ray of the light itself is greater than some value, then the pixel is not lit. There could some attenuation by distance from the light and distance from the center of the light spot etc.
Directional light (sun light) has no position, only a direction, but I think HPL2 does not expose these.
10-13-2010, 07:08 PM
Find


Messages In This Thread
A Different Lighting Tutorial? - by Kaizerwolf - 10-13-2010, 01:18 PM
RE: A Different Lighting Tutorial? - by ide - 10-13-2010, 01:33 PM
RE: A Different Lighting Tutorial? - by locker - 10-13-2010, 07:08 PM
RE: A Different Lighting Tutorial? - by HakePT - 10-13-2010, 10:57 PM



Users browsing this thread: 1 Guest(s)