Page 1 of 2
unit's no longer recieve shadows? how to fix?
Posted: 21 Aug 2011, 22:29
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.
shadows are on as are reflective units. what other setting is missing here?
Re: unit's no longer recieve shadows? how to fix?
Posted: 22 Aug 2011, 00:41
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.
Re: unit's no longer recieve shadows? how to fix?
Posted: 22 Aug 2011, 03:29
by smoth
installed over it already. Still happening. Really annoying.
Re: unit's no longer recieve shadows? how to fix?
Posted: 22 Aug 2011, 12:52
by knorke
try
/advmodelshading 1
/advmapshading 1
(type adv and press tab for autocomplete)
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 01:16
by smoth

Nope but it is cool to be able to see how much the specular etc that I do improves the units.
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 02:38
by smoth
really and truly frustrating. I cannot get my shadows back >:|
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 02:47
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...
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 03:11
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
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 04:45
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).
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 04:52
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.
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 08:02
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.
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 13:37
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.
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 14:55
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?
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 15:28
by smoth
Map/mod does not matter.
All units all features
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 15:44
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...
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 15:54
by smoth
yes, that is the correct appearance.
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:
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)
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 17:27
by FLOZi
Do you use the custom unit shaders gadget?
I managed to replicate this error by turning off normal mapping
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 17:30
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?
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 17:32
by smoth
pmed you my svn info so you can take a looky-loo
Re: unit's no longer recieve shadows? how to fix?
Posted: 23 Aug 2011, 17:46
by abma
Map/mod does not matter.
did you test that?