Call of Duty 5: World at War => Help Desk => Topic started by: fanmagic on July 22, 2019, 11:22:06 am

Title: Lightning issues on models
Post by: fanmagic on July 22, 2019, 11:22:06 am
Hey guys,
I am working on an Orignis styled map since some months now and I decided to port over some models from BO2. Unfortuanally I have some issues with them. I've ported them with Wraith and converted them with AssMan to WaW and everything worked fine. But when I look at them ingame they don't work with the light correctly. Maybe I did a mistake while converting and I hope one of u guys know how to fix it.


The model gets fully lights out and the light don't fade on the model.


It happens to all of my ported models like these sandbags.

Model settings

Material settings

In Radiant I set up my worldspawn corecctly, the sun is working. I placed the lightgrid and lightgrid sky volumes, I placed a skybox model and reflection probes and the map is fully surrounded by a caulk box with a sky texture. I switched the ported models to stock WaW models and it works fine, so I think it is a problem with the converted models. Any help or advise is greatly appreciated. Thanks :)
Title: Re: Lightning issues on models
Post by: codmoddd1234 on July 22, 2019, 04:26:25 pm

Add a specular map.
Make the spec map darker if it looks wet ingame.
Check "berlin_wood_beam" xmodel spec map for an example of darkness.
Title: Re: Lightning issues on models
Post by: johndoe on July 23, 2019, 11:29:41 am
In WaW's engine, models are lit relative to their origin point (the blue box you can see in the 3d/2d panels). If they go through a brush, the light they receive will come directly from the skybox, so they won't look as bright or dark as the other objects around them. In order to fix that problem, you should avoid making them go through brushes in any direction possible. If you feel like you have to place a model in that fashion, you need to cover the origin of the model with some brushes so it won't receive any light from the outside of the map at all.

Bad practice

Good practice