please disable dynamic sun on default.

please disable dynamic sun on default.

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

please disable dynamic sun on default.

Post by smoth »

This is an issue for mappers who use prebaked lighting.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: please disable dynamic sun on default.

Post by zerver »

That may very well happen, not for the reason you suggested, but rather for performance reasons.
User avatar
Johannes
Posts: 1265
Joined: 17 Sep 2010, 15:49

Re: please disable dynamic sun on default.

Post by Johannes »

zerver wrote:That may very well happen, not for the reason you suggested, but rather for performance reasons.
And then that default would be changed by user, or mappers?

I agree with Smoth, rather require a tag on new/updated maps to make use of a feature than make some old maps worse.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: please disable dynamic sun on default.

Post by knorke »

Johannes wrote:And then that default would be changed by user, or mappers?
http://springrts.com/phpbb/viewtopic.ph ... ynamic+sun+
Ill make mega disco sun 8)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: please disable dynamic sun on default.

Post by Forboding Angel »

smoth wrote:This is an issue for mappers who use prebaked lighting.
On shading it won't really matter much, unless your shading was very hard baked into it.

Perhaps best option is on/off toggle in the map (in which case default would be off)?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: please disable dynamic sun on default.

Post by smoth »

Forboding Angel wrote:On shading it won't really matter much. . .
sonIamdisapoint.jpg.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: please disable dynamic sun on default.

Post by knorke »

zerver wrote:That may very well happen, not for the reason you suggested, but rather for performance reasons.
I downloaded test version and indeed get very low FPS. 10 fps in situations where I got 50 before.
/advmapshading 0 gives me back the old fps. (it still seems a bit lower but maybe thats some different settings)
But then I get no shadows at all? Is it somehow possible to have normal, non-dynamic shadows?
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: please disable dynamic sun on default.

Post by luckywaldo7 »

DynamicSun=0

Other settings to try for more fps are
MaxDynamicMapLights=0
MaxDynamicModelLights=0
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: please disable dynamic sun on default.

Post by zerver »

Dynamic sun will absolutely not kill that much FPS, unless your graphics driver is broken. My FPS drops from 60 to maybe 58.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: please disable dynamic sun on default.

Post by knorke »

ok, will test some settings and see whats problem then.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: please disable dynamic sun on default.

Post by Forboding Angel »

To avoid future angst, please allow for a modoption to turn it on by default for that particular game.
Post Reply

Return to “Engine”