Debian Codegraph @

examples/viewport_and_scenes/shadows/README.md

raw symbols SCIP
1 # Shadows
2
3 Simple demo of shadows:
4
5 - Every light type (point, spot, directional) has a boolean `Shadows` property,
6
7 - Each `TCastleTransforem` has `CastShadows` property,
8
9 - For shadow volumes, all objects (primitives and meshes loaded by `TCastleScene`) are potential shadow casters, as long as they are 2-manifold.
10
11 ![Screenshot](screenshot.png)
12
13 ![Screenshot from editor](screenshot_editor.png)
14
15 Using [Castle Game Engine](https://castle-engine.io/).
16
17 ## Building
18
19 Compile by:
20
21 - [CGE editor](https://castle-engine.io/editor). Just use menu items _"Compile"_ or _"Compile And Run"_.
22
23 - Or use [CGE command-line build tool](https://castle-engine.io/build_tool). Run `castle-engine compile` in this directory.
24
25 - Or use [Lazarus](https://www.lazarus-ide.org/). Open in Lazarus `shadows_standalone.lpi` file and compile / run from Lazarus. Make sure to first register [CGE Lazarus packages](https://castle-engine.io/lazarus).
26
27 - Or use [Delphi](https://www.embarcadero.com/products/Delphi). Open in Delphi `shadows_standalone.dproj` file and compile / run from Delphi. See [CGE and Delphi](https://castle-engine.io/delphi) documentation for details.