Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gdevelop:documentation:manual:built_layer [2015/10/18 19:20]
127.0.0.1 external edit
gdevelop:documentation:manual:built_layer [2020/06/01 08:37] (current)
rapperdinesh [Light obstacle behavior]
Line 9: Line 9:
 Quality represents the initial number of triangles that are going to be used to create the light. Be sure to set the quality to 4 at least. A high number will require more processing power. 16 is usually enough. Quality represents the initial number of triangles that are going to be used to create the light. Be sure to set the quality to 4 at least. A high number will require more processing power. 16 is usually enough.
  
-You can also choose if the light is a global light : Whereas a simple light makes things brighter, a global light makes the whole scene darker, excepting area covered by the light.+You can also choose if the light is a global light: Whereas a simple light makes things brighter, a global light makes the whole scene darker, excepting area covered by the light.
 Currently, only one global light can be used on the scene. Currently, only one global light can be used on the scene.
  
Line 21: Line 21:
 ===== Light obstacle behavior ===== ===== Light obstacle behavior =====
  
-You can added light obstacle behavior to objects so as to prevent lights passing ​trough ​them. No setup is required.+You can add light obstacle behavior to objects so as to prevent lights passing ​through ​them. No setup is required.
  
 <note warning>​Using this behavior on a lot of objects can lead to bad performance. You can instead activate this behavior only for objects which are near the light. For example : <note warning>​Using this behavior on a lot of objects can lead to bad performance. You can instead activate this behavior only for objects which are near the light. For example :