unit's no longer recieve shadows? how to fix?

unit's no longer recieve shadows? how to fix?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

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

unit's no longer recieve shadows? how to fix?

Post by smoth »

So somewhere along the way my units/features stopped having their own shadows render on them. I am not sure what is the cause. it happened after I installed the developmental build.

Image

shadows are on as are reflective units. what other setting is missing here?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: unit's no longer recieve shadows? how to fix?

Post by Forboding Angel »

dev build prolly overwrote your springsettings.cfg

Set any dev builds that you install to Isolation mode so that it doesn't interfere.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

installed over it already. Still happening. Really annoying.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: unit's no longer recieve shadows? how to fix?

Post by knorke »

try
/advmodelshading 1
/advmapshading 1

(type adv and press tab for autocomplete)
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

Image
Nope but it is cool to be able to see how much the specular etc that I do improves the units.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

really and truly frustrating. I cannot get my shadows back >:|
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: unit's no longer recieve shadows? how to fix?

Post by abma »

did you look into springsettings.cfg? maybe something is disabled that shouldn't be disabled?

do you have an ati card? is atihacks disabled or enabled?

infolog.txt could help, too...
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

abma wrote:did you look into springsettings.cfg?
yes many times
abma wrote:maybe something is disabled that shouldn't be disabled?
it should have cleared up after I deleted and reinstalled spring 7 times tonight.
abma wrote:do you have an ati card?
No
abma wrote:is atihacks disabled or enabled?
disabled.
abma wrote:infolog.txt could help, too...
config
infolog
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: unit's no longer recieve shadows? how to fix?

Post by Forboding Angel »

Spring has a habit of shitting all over the place. One of the reasons that I made such a big deal about isolation mode.

Moreover I'm sure your isses are caused by new spring settings fucking up. Go into appdata and delete anything even remotely spring related, then set a non-temporary global environment variable of SPRING_ISOLATED=1 so that way any builds of spring 83.x that you install will be isolated to the install dir from the getgo (keeping them from fucking with your dev install, assuming that it is not in portable or isolated mode).
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

I purged all spring related configs from my hd including stuff in appdata already forb. I have run spring in different resolutions and settings. It is accepting the new config. Somewhere something is conflicting. I have half the mind to search my registry. I don't even know any more what the fucking deal is but this really has me annoyed. it is 10pm, 2 days later and still spring's shadows are all dicked up.

I am not running the dev install forb, so put the isolation stuff in a box and throw that out. Testing teh dev version somehow has dicked my regular spring.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: unit's no longer recieve shadows? how to fix?

Post by Forboding Angel »

Dude, ask yourself how that can happen? The only files that get shared are in my docs spring and appdata.

Edit: I'm not trying to antagonize you, I'm just stating the facts. Please believe that I am very familiar with how all this works due to the fact that spring repeatedly raped my test environment while getting ready for the desura release.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

What I am trying to find is what setting disables shadows being cast on units. I have tried all the commands and checked the directories for rogue configs.

Some dev knows what determines shadows being cast on units. I need that info.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: unit's no longer recieve shadows? how to fix?

Post by abma »

@smoth:
sorry, i can't say which setting exactly it is, but afaik something with shadows was/is broken in 0.82.7.1.

can you give an example how to reproduce that?

which game and which unit is that?

/cheat
/give ....

commands would be useful... which map/unit is the first screenshot?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

Map/mod does not matter.

All units all features
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: unit's no longer recieve shadows? how to fix?

Post by abma »

so i guess this fine? http://img710.imageshack.us/img710/9894/screen00201.jpg

+ my springsettings: http://pastebin.com/whTbnyci


i've enabled shadows + advunitshading. afaik the only relevant settings...

only thing i saw in infolog.txt is:
[f=0000000] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)

don't know if that matters...
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

yes, that is the correct appearance.
+ my springsettings: http://pastebin.com/whTbnyci
It'll be another 9 hours before I can try that. I am at work now.
i've enabled shadows + advunitshading. afaik the only relevant settings...
Same. This is what adv shading controls:
smoth wrote:Image
Nope but it is cool to be able to see how much the specular etc that I do improves the units.
only thing i saw in infolog.txt is:
[f=0000000] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)

don't know if that matters...
nah that arb error has always happened on every video card I have had(8600,8800, 280)
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: unit's no longer recieve shadows? how to fix?

Post by FLOZi »

Do you use the custom unit shaders gadget?

I managed to replicate this error by turning off normal mapping
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

I remember that I played with behe's bump mapping guy but I cannot check my source where I am for it right now. :(

what is the custom unit shaders gadget thing?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: unit's no longer recieve shadows? how to fix?

Post by smoth »

pmed you my svn info so you can take a looky-loo
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: unit's no longer recieve shadows? how to fix?

Post by abma »

Map/mod does not matter.
did you test that?
Post Reply

Return to “Help & Bugs”