Help: screwed up lighting


the_irate_pirate
10-07-2007, 03:34 PM
Since I saw a few servers still running my de_aztec port, I decided I should try to finish it. But I sometimes get strange artifacts. See for yourself.

http://img256.imageshack.us/img256/759/dodaztecb40002lr6.jpg

http://img256.imageshack.us/img256/3620/dodaztecb40003ho7.jpg

http://img256.imageshack.us/img256/7371/dodaztecb40001ji1.jpg

Maybe this gives some insight?


SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/shrub_small.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/shrub_01a.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/cattails.mdl)

Initializing renderer...
Warning: using WorldTwoTextureBlend on a non-displacement surface.
Support for this will go away soon.
- Material : nature/blendcobblegrass002
- Surface center : -3209 -82 -331
Warning: using WorldTwoTextureBlend on a non-displacement surface (material: nature/blendcobblegrass002). Support for this will go away soon.
Warning: using WorldTwoTextureBlend on a non-displacement surface.
Support for this will go away soon.
- Material : maps/dod_aztec_b4_2/stone/blendcobbledirt002a_-1472_64_-128
- Surface center : -2144 -576 -208

any help is appreciated.

[AoS]Albatros
10-07-2007, 05:42 PM
Heya,

hmm... if I didn't know better, I'd say this looks like a very early stage of my texture based rain method :P.

Do the artifacts move?

Cheers,

Albatros

P.S.:

I'm pretty certain the error messages don't have a direct relation to the artifacts.

the_irate_pirate
10-07-2007, 05:47 PM
Do the artifacts move?

Well, the reflections changed slightly as I was moving along.

hmm... if I didn't know better, I'd say this looks like a very early stage of my texture based rain method :P.

Texture based rain method? I don't know what that would be but I have a few func_precipitation entities in place. I'll try playing around with them and maybe taking them out. Thanks.

[AoS]Albatros
10-07-2007, 06:12 PM
Ah, wait... hehe.

Thought you referred to the rain as artifacts... you're talking about the reflections though?

Did you build the cubemaps correctly? Also, are you using custom textures there? In the latter case, take a look at the vmts, in the first case make sure you have enough cubemaps and ran "buildcubemaps" in the console.

:)

the_irate_pirate
10-07-2007, 07:07 PM
Well the greenery you see on the wall and that blue grating are all from default textures. I have not built the cubemaps yet. I'm gonna see how that goes.

Dash
10-07-2007, 07:49 PM
Just reading the errors tells you how to fix them.

Warning: using WorldTwoTextureBlend on a non-displacement surface.

I guess you shouldn't be using blended textures on normal brushes, hmm? ;)

SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/shrub_small.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/shrub_01a.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_foliage/cattails.mdl)

These are prop_detail models, not static models. Change them.

Remember to always put brushes under displacements if these displacements are the boundaries of your maps.

Also, don't post topics related to light problems when you do fast compiles, it's just useless.

the_irate_pirate
10-07-2007, 09:51 PM
Well I usually do full compiles. The only time I didn't was this very last time. I now fixed the prop errors and the screwed up lighting/reflections. Thanks to both you!

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.