loading...
Join the ludiloom Public Alpha Test and help us change the game-making game...
Light Editor
From Wiki.ludiloom.com
Contents |
Description
This interface allows the user to create three types of lights. Directional lights, point lights and spot lights. These lights are dynamic and should be used moderately because it highly affects performance.
Next is the description of each of the light types and the respective interface.
Directional
Directional lights simulate a far away light that lights everything in the scene from a specified direction.
- Name - The name by which this light will be accessible.
- Light Type - The selected light type. Changes in this parameter will change the interface layout.
- Diffuse Colour - Sets the diffuse colour emited by this light.
- Specular Colour - Sets the specular colour emited by this light.
- Direction - The direction of the light.
- Cast Shadows - When checked, the objects in the scene that are affected by this light will cast shadows.
- Enable - When unchecked, this light will not light any object in the scene.
- Persistent - When unchecked, all the changes made to this light are lost when all the connected users leave the arena.
Point
Point lights are omnidirectional light sources emiting light from them in every direction.
- Name - The name by which this light will be accessible.
- Light Type - The selected light type. Changes in this parameter will change the interface layout.
- Diffuse Colour - Sets the diffuse colour emited by this light.
- Specular Colour - Sets the specular colour emited by this light.
- Position - The position of the light relatively to it's parents.
- Cast Shadows - When checked, the objects in the scene that are affected by this light will cast shadows.
- Enable - When unchecked, this light will not light any object in the scene.
- Persistent - When unchecked, all the changes made to this light are lost when all the connected users leave the arena.
- Range - The maximum range beyond which this light won't affect objects.
- Attenuation - The attenuation function that will affect the light strength according to the distance to the source. This function is composed by three factors:
- Quadratic (X2) - Adds a curvature to the attenuation formula.
- Linear (X) - 1.0 means attenuate evenly over the distance.
- Constant - 1.0 means never attenuate, 0.0 is complete attenuation.
Spot
Spotlights works exactly like a flashlight does.
- Name - The name by which this light will be accessible.
- Light Type - The selected light type. Changes in this parameter will change the interface layout.
- Diffuse Colour - Sets the diffuse colour emited by this light.
- Specular Colour - Sets the specular colour emited by this light.
- Position - The position of the light relatively to it's parents.
- Direction - The direction of the light.
- Cast Shadows - When checked, the objects in the scene that are affected by this light will cast shadows.
- Enable - When unchecked, this light will not light any object in the scene.
- Persistent - When unchecked, all the changes made to this light are lost when all the connected users leave the arena.
- Range - The maximum range beyond which this light won't affect objects.
- Attenuation - The attenuation function that will affect the light strength according to the distance to the source. This function is composed by three factors:
- Quadratic (X2) - Adds a curvature to the attenuation formula.
- Linear (X) - 1.0 means attenuate evenly over the distance.
- Constant - 1.0 means never attenuate, 0.0 is complete attenuation.
- Apperture - The In parameter sets the angle covered by the spotlights inner cone. The Out parameter sets the angle covered by the spotlights outer cone. This values are in degrees.




