Page 1 of 2

r_singlelight gets massive fps gain?

Posted: Fri Oct 28, 2005 5:30 pm
by ronnie_t
I read on esreality that changing r_singlelight to the correct number for every individual map will give you a huge FPS gain. The only thing unfortunate is that modifying is cheat-protected If only the servers could enable it.

I read the people with "lesser" cards (e.g. Geforce FX-card) are now getting over 60 fps constantly

To test this: Start the game up with "net_allowcheats 1" and start a level using devmap: "devmap mp/q4dm7".
Remember to set "r_singlelight" accordingly (For q4dm7 it must be set to 75)
dm1 : 12 (fragging yard)
dm11v1 : 28
dm2 : 1 (Sandstorm)
dm3 : 8 (Lost Fleet, though i am not really satisfied with this one)
dm4 : 4 (Bloodwork)
dm5 : 4 (The Rose)
dm6 : 3 (No Doctors)
dm7 : 75 (The New Edge)
dm8 : 4 (The Longest Day)
If you get very dark area's then set "r_useSimpleInteraction" to "0"

[url=http://www.esreality.com/?a=post&id=919785]source
[/url]

Posted: Fri Oct 28, 2005 8:06 pm
by Postal
This is the most contrasting show of what the command does I could find:


1600x1200, Ultra, Bumpmapping, specular, shadows, particle effects, 8xAA

512 DDR, AthlonXP 2600+, Geforce4 MX 440 (AGPx4)

Image

Image


Oh, and the pictures were on Q4DM1 in the area that gives me the least FPS.

Posted: Fri Oct 28, 2005 8:27 pm
by R00k
So you get an extra 15 fps, but then can't see anything?

Posted: Fri Oct 28, 2005 8:28 pm
by DRuM
I tried it. Yes, it gave me a constant 63fps but it was pitch black save a few lights here and there. r_usesimpleinteraction was already set to 0. So, if it's pitch black, 'what's the deal' as geoff would say?

Posted: Fri Oct 28, 2005 8:39 pm
by sch1
This command is a godsend, i pray that Raven/ID allow this command through a patch.

DruM the reason it is pitchblack is because you must use a different number with the r_singlelight command for each map, the numbers are in the first post.
Also to brighten things up for better visibility (something not shown in Postal's post) is to use the command r_lightscale, i suggest trying different numbers with this command to brighten things up.

http://thisisalex.free.fr/images/shot00007.jpg
I think i used r_singlelight 8 and r_lightscale 5 for this screenshot, dont quite remeber for sure. I also upped the brightness to 1.7 and gamma is at about 0.8

This is on my P4 2.8ghz 512mb Radeion 9600xt 256mb computer. (No special effects, just hi res textures)
Constant 60+ FPS for me, although this is offline i dont think it would be much different online, just depends on how much action is going on screen but it would sure as hell be better than the -30fps i get with normal low settings.

Posted: Fri Oct 28, 2005 8:42 pm
by shiznit
Wow, 63 fps with no slow downs. Damn I wish I could use it.

Posted: Fri Oct 28, 2005 8:46 pm
by DRuM
sch1 wrote:.

DruM the reason it is pitchblack is because you must use a different number with the r_singlelight command for each map, the numbers are in the first post.
Also use the command r_lightscale.

I used r_singlelight 75 as per the first post on the edge map. But now you mentioned r_lightscale, I'll try that too. If that works then yea, we need to get this allowed.

Posted: Fri Oct 28, 2005 8:47 pm
by MKJ
lightscale was great for doom3 SP. didnt help your fps much but it made the game playable in terms of lighting :icon32:

Posted: Fri Oct 28, 2005 8:56 pm
by DRuM
wth? This is fucking fantastic. It works brilliantly. Oddly, this time it didn't go pitch black. It was very well lit yet the framerate was a constant 63fps everywhere on the map. I stood in a spot where it was 35fps, did r_singlelight 75 and it shot up to 63fps and stayed there. Didn't really need lightscale which was default at 2 but changing that to 4 gave me perfect gamma. Man, I wish we could use this. :icon20:

Posted: Fri Oct 28, 2005 9:11 pm
by Foo
Not surprising, since I guess what this does is completely disables lights and lightmaps, and applies an even single light across the whole map.

Whether it should be allowed is a matter for debate, although you can already make the game look almost identical to that via other methods... I guess the decision is to allow that command, or disallow the others.

Posted: Fri Oct 28, 2005 9:20 pm
by sch1
Well, i want to play this game and be able to enjoy it, I was considering buying some new hardware to be able to run it, however it would be pretty awesome if this command was allowed as it would save me alot of money which i could use for other things.

Posted: Sat Oct 29, 2005 12:17 am
by Requ!em
You can also try r_lightDetailLevel, its default is supposed to be 9 but some maps change that value to 0. It shouldn't require any change to r_lightscale.
r_lightDetailLevel
current light level-of-detail (lights with a detail level that is greater-or-equal are drawn)
To test this on a local server (not online) bind a key as follows:

bind o "toggle r_lightDetailLevel 0 6 9"

Keep pressing the key to cycle the cvar values to 0, then 6, then 9, etc.

NOTE: The cvar doesn't appear to be cheat protected

Posted: Sat Oct 29, 2005 12:25 am
by dubz
this is what ive been waiting for!!!!!!!!!

Posted: Sat Oct 29, 2005 4:06 am
by AmIdYfReAk
dubz wrote:this is what ive been waiting for!!!!!!!!!
i AGREE!!!

this is how i ran Quake 3, and this is what i'm waiting for to run Quake 4 with.

I feel as though we should e-mail this to ID/Raven soft and ask ( or recommend ) for it to be able to be Uncheat protected, Or INSIST that the modding community Add's this into there mod!

Posted: Sat Oct 29, 2005 11:35 am
by Requ!em
Requ!em wrote:You can also try r_lightDetailLevel, its default is supposed to be 9 but some maps change that value to 0. It shouldn't require any change to r_lightscale
r_lightDetailLevel helps most on maps such as Q4CTF4 near the Quad area.

Posted: Sat Oct 29, 2005 11:45 am
by sch1
AmIdYfReAk wrote: i AGREE!!!

this is how i ran Quake 3, and this is what i'm waiting for to run Quake 4 with.

I feel as though we should e-mail this to ID/Raven soft and ask ( or recommend ) for it to be able to be Uncheat protected, Or INSIST that the modding community Add's this into there mod!
Yup yup, im praying this gets allowed one way or the other, speaking of contacting Raven how would we go about doing this?
I only know their forum address

http://forums.ravensoft.com/ib/ikonboard.pl

Posted: Sat Oct 29, 2005 12:14 pm
by DRuM
AmIdYfReAk wrote:
dubz wrote:this is what ive been waiting for!!!!!!!!!
i AGREE!!!

this is how i ran Quake 3, and this is what i'm waiting for to run Quake 4 with.

I feel as though we should e-mail this to ID/Raven soft and ask ( or recommend ) for it to be able to be Uncheat protected, Or INSIST that the modding community Add's this into there mod!
Couldn't agree more :icon14:

Posted: Sat Oct 29, 2005 12:51 pm
by Massive Quasars
Excellent.

Posted: Sat Oct 29, 2005 3:02 pm
by Oeloe
Looks like this is the new r_vertexlight. I don't use it in Q3 though so i probably won't use r_singlelight in Q4 unless i really need the extra FPS.

Posted: Sat Oct 29, 2005 9:20 pm
by amgine
Requ!em wrote:
Requ!em wrote:You can also try r_lightDetailLevel, its default is supposed to be 9 but some maps change that value to 0. It shouldn't require any change to r_lightscale
r_lightDetailLevel helps most on maps such as Q4CTF4 near the Quad area.

Yes, but does it help with fps as much as the previous command?

Posted: Sat Oct 29, 2005 9:55 pm
by odds
This is awesome, thanks a lot. Now I need to konw which settings to use for bliptourney1 and PHRANTIC (two of the most popular custom maps.) Thanks again!

Posted: Sat Oct 29, 2005 10:53 pm
by Requ!em
amgine wrote:Yes, but does it help with fps as much as the previous command?
No, but it r_LightDetailLevel isn't cheat protected, it can be used in multiplayer for now until Raven allow r_singlelight =)

Posted: Sat Oct 29, 2005 11:05 pm
by odds
Okay, there's one problem with r_singlelight. In warmup mode on a local server, I set r_singlelight to 28 on The Fragging Yard 1v1. Everything works great and there's no need for changing r_lightscale or r_lightdetaillevel. Then, once we both ready up and it starts the game, my whole screen goes pitch black except for a few lights (as DRuM said.) It's weird because r_singlelight is STILL 28. I've tried changing r_lightdetaillevel and r_lightscale, but nothing changes. Any suggestions?

Posted: Sat Oct 29, 2005 11:29 pm
by Requ!em
What happens when you set the cvars after game start (bind to a key)? Have you tried r_lightDetailLevel only (set to 9)?

Posted: Sat Oct 29, 2005 11:33 pm
by DRuM
odds, someone on esreality reported the same thing. As soon as he got fragged ( or fragged someone) the screen went black. Seems to be an unstable command at the moment.