Useful lighting commands

From Platinum Arts Sandbox Free 3D Game Maker
Jump to: navigation, search

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]