Skip to content

Commit

Permalink
docs: Sync latest ioq3 opengl2-readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfbbqhax committed Oct 19, 2017
1 parent 245e91c commit a1af529
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/opengl2-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Cvars for HDR and tonemapping:
r_hdr, r_postprocess, and r_toneMap.
0 - No.
1 - Yes. (default)

* `r_forceAutoExposure` - Cheat. Override built-in and map auto
exposure settings and use cvars
r_forceAutoExposureMin and
Expand Down Expand Up @@ -264,10 +264,6 @@ Cvars for the sunlight and cascaded shadow maps:
1 - Do.
2 - Sunrise, sunset.

* `r_forceSunMapLightScale` - Cheat. Scale map brightness by this factor
when r_forceSun 1.
1.0 - Default

* `r_forceSunLightScale` - Cheat. Scale sun brightness by this factor
when r_forceSun 1.
1.0 - Default
Expand Down Expand Up @@ -489,7 +485,7 @@ and is the equivalent for 'exactVertex'.

This adds a new keyword to sky materials, q3gl2_sun. The syntax is:

q3gl2_sun <red> <green> <blue> <intensity> <degrees> <elevation> <mapLightScale> <ambientLightScale>
q3gl2_sun <red> <green> <blue> <intensity> <degrees> <elevation> <shadowScale>

Note the first six parameters are the same as in q3map_sun or q3map_sunExt,
and the last two indicate scaling factors for the map brightness and an ambient
Expand All @@ -510,7 +506,7 @@ There are currently two ways to use this in your own (and other people's) maps.
surfaceparm nolightmap
surfaceparm sky
q3map_sunExt 240 238 200 100 195 35 3 16
q3gl2_sun 240 238 200 50 195 35 1.0 0.2
q3gl2_sun 240 238 200 50 195 35 0.2
q3map_skylight 50 16
q3map_lightimage $whiteimage

Expand All @@ -533,7 +529,7 @@ There are currently two ways to use this in your own (and other people's) maps.
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm sky
q3gl2_sun 240 238 200 50 195 35 0.5 0.2
q3gl2_sun 240 238 200 50 195 35 0.2
q3map_skylight 50 16
q3map_lightimage $whiteimage

Expand Down

0 comments on commit a1af529

Please sign in to comment.