S&box Wiki

Revision Difference

Light_Entities#547774

<cat>Code.Misc</cat>⤶ <cat>Dev.Map</cat>⤶ <title>Light Entities</title> #Uploading Images⤶ ⤶ I uploaded this gif because I didn't understand what each light entity did. I didn't want to use it in hammer, I needed it in code so I didn't have a preview. Here's a preview for you! :)⤶ #Visual Representation⤶ ⤶ Here's a GIF for people who don't quite know what all **3 light entities** do:⤶ <upload src="2c448/8da763d08680900.gif" size="1346225" name="lights.gif" /> ⤶ #Links⤶ Visit [Hammer Entities](https://wiki.facepunch.com/sbox/Hammer-Entities) topic for the light entity's names to use in Hammer.⤶ ⤶ ⤶ ## Uses⤶ ⤶ 1. **light_omni** (point lights)⤶ * Useful for quick, lazy lighting for your map when you want to test it⤶ * For ceiling lights, wall lights, etc.⤶ ⤶ 2. **light_spot** (spotlights)⤶ * Convincing and real-looking spot lighting, easily customisable⤶ ⤶ 3. **light_ortho** (straight, orthographic lighting)⤶ * Used for something like forced light creeping out of a window or anything⤶ ⤶ ⤶ Hope this explained everything you needed to know!