Difference between revisions of "Useful lighting commands"
From Platinum Arts Sandbox Free 3D Game Maker
(Created page with 'This is a list of some of my favorite lighting commands, more info on them here: [http://www.sandboxgamemaker.com/wiki/index.php?title=Lighting Wiki: Lighting] and [http://www.sa…') |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
This is a list of some of my favorite lighting commands, more info on them here: [http://www.sandboxgamemaker.com/wiki/index.php?title=Lighting Wiki: Lighting] and [http://www.sandboxgamemaker.com/platinumartssandboxeditref.html#lighting Command Ref: Lighting] | This is a list of some of my favorite lighting commands, more info on them here: [http://www.sandboxgamemaker.com/wiki/index.php?title=Lighting Wiki: Lighting] and [http://www.sandboxgamemaker.com/platinumartssandboxeditref.html#lighting Command Ref: Lighting] | ||
| − | *skylight: with values of 255, 255 and 255, your entire map has a pretty cool ambient occlusion-style look. It's also useful for night maps. | + | *skylight: adds light to the entire map. with values of 255, 255 and 255, your entire map has a pretty cool ambient occlusion-style look. It's also useful for night maps. |
*ambient: this determines the minimum darkness of a map. It's useful for night maps, and also things like caves and buildings. | *ambient: this determines the minimum darkness of a map. It's useful for night maps, and also things like caves and buildings. | ||
| − | * | + | *lightprecision: this lets you choose the accuracy of lighting. You can use it to speed up calclighting. Best done in powers of 2, with larger powers for larger maps (for example: default is 32. You can use 64 or 128 for less accuracy and fast lighting, or you can use 16 for high accuracy but slow lighting). |
| + | *patchlight: fixes lights that were changed in some way. Much faster than using calclight over and over again. | ||
| + | |||
| + | *Sunlight commands: [http://forum.sandboxgamemaker.com/viewtopic.php?f=15&t=3209&p=29502&] | ||
Latest revision as of 17:27, 30 March 2012
This is a list of some of my favorite lighting commands, more info on them here: Wiki: Lighting and Command Ref: Lighting
- skylight: adds light to the entire map. with values of 255, 255 and 255, your entire map has a pretty cool ambient occlusion-style look. It's also useful for night maps.
- ambient: this determines the minimum darkness of a map. It's useful for night maps, and also things like caves and buildings.
- lightprecision: this lets you choose the accuracy of lighting. You can use it to speed up calclighting. Best done in powers of 2, with larger powers for larger maps (for example: default is 32. You can use 64 or 128 for less accuracy and fast lighting, or you can use 16 for high accuracy but slow lighting).
- patchlight: fixes lights that were changed in some way. Much faster than using calclight over and over again.
- Sunlight commands: [1]