Hacky light rendering limited by distance and angle.
[tabakrolletjie.git] / data / stations / station-alpha.json
1 {
2   "config": {
3     "name": "Station Alpha",
4     "power": 100,
5     "seeds": 10
6   },
7   "obstacles": [
8     {
9       "type": "wall",
10       "vertices": [
11         [400, 400], [450, 400], [450, 450], [400, 450]
12       ]
13     },
14     {
15       "type": "wall",
16       "vertices": [
17         [800, 400], [850, 400], [850, 450], [800, 450]
18       ]
19     },
20     {
21       "type": "wall",
22       "vertices": [
23         [200, 350], [250, 350], [250, 400], [200, 400]
24       ]
25     }
26   ],
27   "lights": [
28     {
29       "type": "spotlight",
30       "colour": "red",
31       "position": [700, 500],
32       "direction": 90.0,
33       "spread": 45.0,
34       "radius_limits": [20, 200],
35       "angle_limits": [90, -90],
36       "intensity": 0.8
37     },
38     {
39       "type": "spotlight",
40       "colour": "yellow",
41       "position": [500, 500],
42       "direction": -90.0,
43       "spread": 45.0,
44       "intensity": 0.5
45     }
46   ]
47 }