Skip to content

Commit a1af529

Browse files
committed
docs: Sync latest ioq3 opengl2-readme.md
1 parent 245e91c commit a1af529

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/opengl2-readme.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Cvars for HDR and tonemapping:
136136
r_hdr, r_postprocess, and r_toneMap.
137137
0 - No.
138138
1 - Yes. (default)
139-
139+
140140
* `r_forceAutoExposure` - Cheat. Override built-in and map auto
141141
exposure settings and use cvars
142142
r_forceAutoExposureMin and
@@ -264,10 +264,6 @@ Cvars for the sunlight and cascaded shadow maps:
264264
1 - Do.
265265
2 - Sunrise, sunset.
266266

267-
* `r_forceSunMapLightScale` - Cheat. Scale map brightness by this factor
268-
when r_forceSun 1.
269-
1.0 - Default
270-
271267
* `r_forceSunLightScale` - Cheat. Scale sun brightness by this factor
272268
when r_forceSun 1.
273269
1.0 - Default
@@ -489,7 +485,7 @@ and is the equivalent for 'exactVertex'.
489485

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

492-
q3gl2_sun <red> <green> <blue> <intensity> <degrees> <elevation> <mapLightScale> <ambientLightScale>
488+
q3gl2_sun <red> <green> <blue> <intensity> <degrees> <elevation> <shadowScale>
493489

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

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

0 commit comments

Comments
 (0)