r_singlelight gets massive fps gain?

ronnie_t
Posts: 2
Joined: Mon Oct 03, 2005 12:33 am

r_singlelight gets massive fps gain?

Post 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]
User avatar
Postal
Posts: 657
Joined: Tue Jan 07, 2003 8:00 am

Post 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.
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Post by R00k »

So you get an extra 15 fps, but then can't see anything?
DRuM
Posts: 6841
Joined: Mon Oct 28, 2002 8:00 am

Post 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?
sch1
Posts: 14
Joined: Fri Oct 28, 2005 8:35 pm

Post 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.
Last edited by sch1 on Fri Oct 28, 2005 8:49 pm, edited 3 times in total.
shiznit
Posts: 1244
Joined: Fri Jul 01, 2005 4:39 pm

Post by shiznit »

Wow, 63 fps with no slow downs. Damn I wish I could use it.
DRuM
Posts: 6841
Joined: Mon Oct 28, 2002 8:00 am

Post 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.
User avatar
MKJ
Posts: 32581
Joined: Fri Nov 24, 2000 8:00 am

Post by MKJ »

lightscale was great for doom3 SP. didnt help your fps much but it made the game playable in terms of lighting :icon32:
[url=http://profile.mygamercard.net/Emka+Jee][img]http://card.mygamercard.net/sig/Emka+Jee.jpg[/img][/url]
DRuM
Posts: 6841
Joined: Mon Oct 28, 2002 8:00 am

Post 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:
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post 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.
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
sch1
Posts: 14
Joined: Fri Oct 28, 2005 8:35 pm

Post 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.
Requ!em
Posts: 62
Joined: Wed Mar 08, 2000 8:00 am

Post 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
Last edited by Requ!em on Sat Oct 29, 2005 11:33 am, edited 4 times in total.
dubz
Posts: 513
Joined: Tue Sep 27, 2005 3:07 am

Post by dubz »

this is what ive been waiting for!!!!!!!!!
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post 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!
Requ!em
Posts: 62
Joined: Wed Mar 08, 2000 8:00 am

Post 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.
sch1
Posts: 14
Joined: Fri Oct 28, 2005 8:35 pm

Post 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
DRuM
Posts: 6841
Joined: Mon Oct 28, 2002 8:00 am

Post 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:
Massive Quasars
Posts: 8696
Joined: Fri Dec 15, 2000 8:00 am

Post by Massive Quasars »

Excellent.
[url=http://www.marxists.org/][img]http://img442.imageshack.us/img442/3050/avatarmy7.gif[/img][img]http://img506.imageshack.us/img506/1736/leninzbp5.gif[/img][img]http://img506.imageshack.us/img506/1076/modulestalinat6.jpg[/img][img]http://img506.imageshack.us/img506/9239/cheds1.jpg[/img][/url]
Oeloe
Posts: 1529
Joined: Fri Mar 19, 2004 8:00 am

Post 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.
amgine
Posts: 2
Joined: Sat Oct 29, 2005 9:18 pm

Post 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?
odds
Posts: 15
Joined: Tue Oct 25, 2005 12:42 am

Post 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!
Requ!em
Posts: 62
Joined: Wed Mar 08, 2000 8:00 am

Post 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 =)
odds
Posts: 15
Joined: Tue Oct 25, 2005 12:42 am

Post 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?
Requ!em
Posts: 62
Joined: Wed Mar 08, 2000 8:00 am

Post 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)?
DRuM
Posts: 6841
Joined: Mon Oct 28, 2002 8:00 am

Post 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.
Locked