Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
0.8.4:lights [2022/07/21 08:04] – [Directional Light] admin0.8.4:lights [2022/07/22 12:55] (current) – [Multiple Lights] admin
Line 46: Line 46:
 ^LightType ^Description ^ ^LightType ^Description ^
 |TLightType.Point|A light that gets emitted from a single point in all directions. A common use case for this is to replicate the light emitted from a bare lightbulb.| |TLightType.Point|A light that gets emitted from a single point in all directions. A common use case for this is to replicate the light emitted from a bare lightbulb.|
 +
 +{{:0.8.4:light_casters_point.png?nolink|}}
 +
 +[[https://learnopengl.com/Lighting/Light-casters]]
  
 <file pascal> <file pascal>
Line 59: Line 63:
 ^LightType ^Description ^ ^LightType ^Description ^
 |TLightType.Spot|This light gets emitted from a single point in one direction, along a cone that increases in size the further from the light it gets.| |TLightType.Spot|This light gets emitted from a single point in one direction, along a cone that increases in size the further from the light it gets.|
 +
 +{{:0.8.4:light_casters_spotlight_angles.png?nolink|}}
 +
 +[[https://learnopengl.com/Lighting/Light-casters]]
  
 Take care of some additional properties to configure, when using spot lights. Take care of some additional properties to configure, when using spot lights.
Line 67: Line 75:
  
 {{:0.8.4:spotlight.jpg?nolink|}} {{:0.8.4:spotlight.jpg?nolink|}}
 +
 [[https://subscription.packtpub.com/book/game-development/9781849695046/4/ch04lvl1sec35/implementing-per-fragment-spot-light]] [[https://subscription.packtpub.com/book/game-development/9781849695046/4/ch04lvl1sec35/implementing-per-fragment-spot-light]]
  
Line 94: Line 103:
 |Android 64-Bit| 8 | |Android 64-Bit| 8 |
  
 +Next step: [[terrain|Terrain]]