]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - Lighting.md
no more nexuiz on home page
[xonotic/xonotic.wiki.git] / Lighting.md
index 7bccf3708d6c93c5e350a128db53ea4d5817f485..b302c740b915042c3f93b43ae2bbef1942e2b181 100644 (file)
@@ -6,18 +6,18 @@ In netradiant, there are two kinds of lights, real time lights (which must be ad
 Real time lights (rtlights)
 ---------------------------
 
-Real time lights are added and modified using the following console commands, accessible in-game using r\_editlights\_help.
+Real time lights are added and modified using the following console commands, accessible in-game using `r_editlights_help`.
 
 |Command|Function|
 |-------|--------|
-|=.Settings|
+|_Settings_|
 |r\_editlights|enable/disable editing mode|
 |r\_editlights\_cursordistance|maximum distance of cursor from eye|
 |r\_editlights\_cursorpushback|push back cursor this far from surface|
 |r\_editlights\_cursorpushoff|push cursor off surface this far|
 |r\_editlights\_cursorgrid|snap cursor to grid of this size|
 |r\_editlights\_quakelightsizescale|imported quake light entity size scaling|
-|=.Commands|
+|_Commands_|
 |r\_editlights\_help|this help|
 |r\_editlights\_clear|remove all lights|
 |r\_editlights\_reload|reload .rtlights, .lights file, or entities|
@@ -28,7 +28,7 @@ Real time lights are added and modified using the following console commands, ac
 |r\_editlights\_toggleshadow|toggles on/off selected light’s shadow property|
 |r\_editlights\_importlightentitiesfrommap|reload light entities|
 |r\_editlights\_importlightsfile|reload .light file (produced by hlight)|
-|=.Edit commands (given as arguments to r\_editlights\_edit|
+|_Edit commands (given as arguments to `r_editlights_edit`)_|
 |origin x y z|set light location|
 |originx x|set x component of light location|
 |originy y|set y component of light location|
@@ -57,9 +57,9 @@ Real time lights are added and modified using the following console commands, ac
 |specular n|set specular intensity (0-1)|
 |normalmode 1/0|turn on/off rendering of this light in rtworld 0 mode|
 |realtimemode 1/0|turn on/off rendering of this light in rtworld 1 mode|
-|<nothing>|print light properties to console|
+|_(nothing)_|print light properties to console|
 
-The most important commands to remember are r\_editlights, r\_editlights\_edit (color, realtimemode and radius arguments), and of course, r\_editlights\_save. You will not see your light and its effects in real time if you do not execute r\_editlights\_realtimemode 1 while having selected the light.
+The most important commands to remember are `r_editlights`, `r_editlights_edit` (color, realtimemode and radius arguments), and of course, `r_editlights_save`. You will not see your light and its effects in real time if you do not execute `r_editlights_realtimemode 1` while having selected the light.
 
 It is important to note that rtlights can put a serious drain on computers due to the way they work, and they should be used sparingly (don’t make an rtlight on every radiosity light, generally). However, they can easily be disabled from the client-side if a user’s machine cannot handle them.