Lighting: Difference between revisions
Solokiller (talk | contribs) No edit summary |
ActalIbast (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
[http://best-legs.tiddle.cn/ best legs] [http://mao.charie.cn/ mao] [http://free-casino.counite.cn/ free casino] [http://certificates.counite.cn/ certificates] [http://merc-cruiser.tiddle.cn/ merc cruiser parts] [http://wahoo-thumbs.charie.cn/ wahoo thumbs] [http://shakira-oral.indevout.cn/ shakira oral] [http://jack-valentino.charie.cn/ jack valentino] [http://medical-titles.indevout.cn/ medical titles and abbreviations] [http://boat-auction.indevout.cn/ boat auction] [http://persiankitty.charie.cn/ persiankitty] [http://dogs-playing-poker.tiddle.cn/ dogs playing poker] [http://xbox-games.moon-ray.cn/ xbox games] [http://sacramento-massage.erhear.cn/ sacramento massage therapy classes] [http://lolita-young.gosailor.cn/ lolita young bbs] [http://free-gothic-porn.erhear.cn/ free gothic porn] [http://oakland-limousine.drongo.cn/ oakland limousine services] [http://lidar-camera.gosailor.cn/ lidar camera] [http://lesbo-teens.tiddle.cn/ lesbo teens] [http://spyware.emetic.cn/ spyware] [http://sapphire-video.abjur.cn/ sapphire video cards home] [http://free-xxx-ultra.charie.cn/ free xxx ultra passwords] [http://break-dance-moves.erhear.cn/ break dance moves] [http://school-girl-lesbians.charie.cn/ school girl lesbians] [http://illegal-pics.erhear.cn/ illegal pics] [http://old-men-dicks.indevout.cn/ old men dicks] [http://teen-galleries.emetic.cn/ teen galleries] [http://dirty-doctor.erhear.cn/ dirty doctor sex] [http://virginia-auto.charie.cn/ virginia auto windshield] [http://busty-ladies.moon-ray.cn/ busty ladies] [http://genital-mutilation.abjur.cn/ genital mutilation] [http://sun-java-windows.tiddle.cn/ sun java windows 98] [http://frodo.charie.cn/ frodo] [http://janey.charie.cn/ janey] [http://oh-no.drongo.cn/ oh no] [http://corporate-recognition.tiddle.cn/ corporate recognition] [http://robert-frost-poems.tiddle.cn/ robert frost poems] [http://wedding-programs.emetic.cn/ wedding programs] [http://naked-chinese.charie.cn/ naked chinese] [http://hawaii-map.charie.cn/ hawaii map] [http://disneychannel.counite.cn/ disneychannel] [http://antique.indevout.cn/ antique] [http://carly-patterson.indevout.cn/ carly patterson] [http://organic-pest-control.erhear.cn/ organic pest control] [http://tool-boxes.gosailor.cn/ tool boxes] [http://murder-she-wrote.moon-ray.cn/ murder she wrote] [http://christina-agulaira.drongo.cn/ christina agulaira] [http://sebastien-lefebvre.moon-ray.cn/ sebastien lefebvre] [http://wants-warrants.moon-ray.cn/ wants warrants jail] [http://huge-horse-cocks.moon-ray.cn/ huge horse cocks] [http://sheer-bras.abjur.cn/ sheer bras] [http://voyeur-teens.indevout.cn/ voyeur teens] [http://ashley-and-mary.moon-ray.cn/ ashley and mary kate olsen naked] [http://bird-of-paradise.emetic.cn/ bird of paradise] [http://pre-medical-test.moon-ray.cn/ pre medical test forms] [http://dlp-hdtv.moon-ray.cn/ dlp hdtv] [http://skinny-little.emetic.cn/ skinny little girl] [http://animals-fucking.emetic.cn/ animals fucking] [http://never-say-never.abjur.cn/ never say never again] [http://male-physique.counite.cn/ male physique models] [http://summercamp-jobs.indevout.cn/ summercamp jobs] [http://columbian-girls.moon-ray.cn/ columbian girls] [http://tacticals.moon-ray.cn/ tacticals] [http://animalarchive.charie.cn/ animalarchive] [http://ouvriere.erhear.cn/ ouvriere] [http://address-finder.gosailor.cn/ address finder] [http://sleep-aid.indevout.cn/ sleep aid] [http://maui-boat.drongo.cn/ maui boat] [http://kill-myself.drongo.cn/ kill myself] [http://mudvayne.emetic.cn/ mudvayne] [http://clit-stimulators.moon-ray.cn/ clit stimulators] [http://democracy.tiddle.cn/ democracy] [http://aspirin.erhear.cn/ aspirin] [http://motor-bath-fan.moon-ray.cn/ motor bath fan] [http://some-say.drongo.cn/ some say] [http://purina.gosailor.cn/ purina] [http://birthday-database.gosailor.cn/ birthday database] [http://evista.counite.cn/ evista] [http://library-download.emetic.cn/ library download books] [http://red-head-sex.charie.cn/ red head sex] [http://death-row.tiddle.cn/ death row] [http://backgammon.charie.cn/ backgammon] [http://hot-women-nude.emetic.cn/ hot women nude] [http://pool-cue-rack.gosailor.cn/ pool cue rack] [http://nylon-stockings.indevout.cn/ nylon stockings] [http://cia-jobs.moon-ray.cn/ cia jobs] [http://pussy-play.erhear.cn/ pussy play] [http://i-believe-in-a.erhear.cn/ i believe in a thing called love] [http://stihl.drongo.cn/ stihl] [http://anal-asians.gosailor.cn/ anal asians] [http://salsa.counite.cn/ salsa] [http://suspension-parts.counite.cn/ suspension parts] [http://sailor-moon-sex.erhear.cn/ sailor moon sex] [http://teaching-supplies.gosailor.cn/ teaching supplies] [http://practice-sol-test.charie.cn/ practice sol test for world history] [http://sexy-mother.tiddle.cn/ sexy mother] [http://naked-straight.erhear.cn/ naked straight men] [http://bay-city-rollers.abjur.cn/ bay city rollers] [http://bang-me.drongo.cn/ bang me] [http://computer-leasing.emetic.cn/ computer leasing] | |||
{{Abstract Mapping}} | {{Abstract Mapping}} | ||
__NOTOC__ | __NOTOC__ |
Revision as of 18:48, 1 December 2007
best legs mao free casino certificates merc cruiser parts wahoo thumbs shakira oral jack valentino medical titles and abbreviations boat auction persiankitty dogs playing poker xbox games sacramento massage therapy classes lolita young bbs free gothic porn oakland limousine services lidar camera lesbo teens spyware sapphire video cards home free xxx ultra passwords break dance moves school girl lesbians illegal pics old men dicks teen galleries dirty doctor sex virginia auto windshield busty ladies genital mutilation sun java windows 98 frodo janey oh no corporate recognition robert frost poems wedding programs naked chinese hawaii map disneychannel antique carly patterson organic pest control tool boxes murder she wrote christina agulaira sebastien lefebvre wants warrants jail huge horse cocks sheer bras voyeur teens ashley and mary kate olsen naked bird of paradise pre medical test forms dlp hdtv skinny little girl animals fucking never say never again male physique models summercamp jobs columbian girls tacticals animalarchive ouvriere address finder sleep aid maui boat kill myself mudvayne clit stimulators democracy aspirin motor bath fan some say purina birthday database evista library download books red head sex death row backgammon hot women nude pool cue rack nylon stockings cia jobs pussy play i believe in a thing called love stihl anal asians salsa suspension parts sailor moon sex teaching supplies practice sol test for world history sexy mother naked straight men bay city rollers bang me computer leasing
Abstract Mapping series Discuss your thoughts - Help us develop the articles or ideas you want |
---|
Ammunition | List of HL2 Animals and Creatures | Mapping with Antlions | Beams and Lasers | Cables and Ropes | Moving Clouds | Color Theory in Level Design | Combat | Combine | Compression (Source 1) | Doors | Dust, Fog, & Smoke | Elevators | Level Transitions | Environmental Lighting, Sun, Weather, & Outdoors | Explosions | Fire | Half-Life 2 Foliage | Glass & Windows | Headcrab | Health | Ladders | Lighting | Optimization (level design) | Physics | Retinal scanners | Sound and Music | Special effects | Terrain | Trains | Turrets | Water | Weapons | Zombie |
Guides
- Adding Light - A beginners tutorial on how to set up a basic light entity.
- Intermediate Lighting - A tutorial dealing with all the light sources in more detail.
- Advanced Lighting
- Constant-Linear-Quadratic Falloff - An easy-to-read explanation of the old C-L-Q light attenuation system.
Entities
Stationary light sources
- light — a simple omni-directional light
- light_environment — light from toolsskybox materials
- light_spot — a stationary spotlight
Moving light sources
- light_dynamic — a combination point light and spotlight that can be moved, turned, and adjusted.
- npc_spotlight — a spotlight NPC capable of tracking targets.
Other light effect entities
The following entities are primarily just visual effects from light, meaning they do not cast light on their surroundings.
- env_sprite — entity used to create omni-directional glow or flare effects.
- point_spotlight — a moveable spotlight (directional) glow, with an optional dynamic light source.
- env_lightglow — an asymmetrical glow (for areas of contrasting light).
- The
models/effects/vol_light001
andmodels/effects/vol_light002
textures, used for volumetric lighting. - prop_static — This entity can be used together with the models/Effects/vol_light.mdl model to simulate basic volumetric light.
- env_sun — visual effect of the sun in the sky.
- env_particlelight — only lights particles (such as those produced by env_smokestack).
Common values
- City 17 day
- Brightness
237 218 143 800
- Ambience
190 201 220 100
- Ravenholm night
- Brightness
175 230 239 50
- Ambience
43 45 57 5
- Combine lamp
- Brightness
147 226 240 3000
- Ambience N/A
For values to accompany the stock skybox materials, see Sky List.
Notes
- Naming a light makes it more expensive. Only name lights when you need to. Multiple lights sharing the same name are cheaper than lights with separate names.
- light_dynamic is especially expensive, and will not even show up on some systems
- The basic light entities do not come with a visible representation (eg, a lightbulb). For that you need a prop. See HL2 light props for a list.
- The basic light entities do not come with a "glow" as you'd expect to see in a foggy or misty area. To provide this, either compile and run the map with HDR enabled, or add a point_spotlight (with dynamic lighting off unless needed) or env_lightglow entity.
- Maps will not be lit unless you run vrad (or equivalent). Vrad will not run properly unless the level is free of leaks.
- Several textures provide their own light & can do so using
lights.rad
in a mod's directory or the one insourcesdk/bin
. - Experiment by burning light onto motion enabled entities/objects. i.e. func_rotating with shadows disabled may look odd, func_tracktrain spawned with normal light, etc.
Console commands
mat_fullbright boolean
— Toggles map lighting
See also
- HL2 light props
- Color theory (level design)
- Light entities - A list of light entities.
External links
- Understanding and Using Lightmaps - Tutorial
- Volumetric Lighting - Tutorial
- Lighting Tutorial - Covers entities & variables with examples
- Quadratic/Linear/Constant in Lights
- HDR/Shaped Light/Burning Light/Darkness/Sun/Volumetric