Shadow stuck on moving brush

Avatar
Tater
6 Posts
Posted Feb 06, 2014
A moving brush in my map has a shadow stuck on it.
I have read that you need a light_dynamic for moving brushes.
how do i use it correctly?
or is there any other way to fix it?

I stardet using hammer a month ago, so i'm kind of a noob to all this.
Thx for any advise.

Advertisement
Registered users don’t see ads! Register now!
Avatar
TopHATTwaffle
113 Posts
Posted Feb 06, 2014
Replied 4 minutes later
Lighting on brushes is baked into the light map grid. Even when the brush moves the lighting will stay. The best way around this for Portal 2 is to have a env_projected texture cast light on the brush. By no means should you ever use a light_dynamic because they are made of digital poop.
Avatar
FelixGriffin
2,680 Posts
Posted Feb 06, 2014
Replied 36 minutes later
The big caveat with env_projectedtextures is that you can only use one at a time. If you turn a new one on, the old one needs to turn off.
Avatar
TopHATTwaffle
113 Posts
Posted Feb 06, 2014
Replied 3 minutes later

FelixGriffin wrote:
The big caveat with env_projectedtextures is that you can only use one at a time. If you turn a new one on, the old one needs to turn off.

Do note that when you active a new one, it will automagically turn off all others. If you're clever about your placement, you'll be fine with just one.

Avatar
FelixGriffin
2,680 Posts
Posted Feb 06, 2014
Replied 7 minutes later

TopHATTwaffle wrote:
Do note that when you active a new one, it will automagically turn off all others.

Really? I thought the new one would just refuse to activate until the old one was off.

Avatar
Tater
6 Posts
Posted Feb 06, 2014
Replied 2 hours later
I have an env_projectedtexture and a light entity in the room but the problem ?s, the light entity makes the shadow that is stuck on the panel. so when i delete the light, and just have the env_projectedtexture, I have no light in my map at all.

What should I use instead?

BTW anoter problem i have, when i use a light_spot entity, i don't see the lightcone (the area were the light will be)
how can i change that?

Thx

Avatar
User
630 Posts
Posted Feb 06, 2014
Replied 51 minutes later

Tater wrote:
I have an env_projectedtexture and a light entity in the room but the problem ?s, the light entity makes the shadow that is stuck on the panel. so when i delete the light, and just have the env_projectedtexture, I have no light in my map at all.

Change the properties of "Disable Shadows" to yes, of the model who makes the Shadows.

Avatar
Tater
6 Posts
Posted Feb 06, 2014
Replied 1 hour later
I checked the propeties menu of the light and light_spot none of them has an option " disable shadows"
the only one I found was the env_projectedtexture. It says "enable shadows Yes/No" But this doesn't make sense because then the light/light_spot (which i need to have in the map" still makes shadows.
Avatar
CamBen
973 Posts
Posted Feb 06, 2014
Replied 2 hours later

Tater wrote:
I checked the propeties menu of the light and light_spot none of them has an option " disable shadows"
the only one I found was the env_projectedtexture. It says "enable shadows Yes/No" But this doesn't make sense because then the light/light_spot (which i need to have in the map" still makes shadows.

TheTobbell wrote:
...of the model who makes the Shadows.

Change it on the model, not the light.

Avatar
Tater
6 Posts
Posted Feb 07, 2014
Replied 10 hours later
Ok I changed the brush propeties to disable shadows but the problem is still there.
Now what i found out: when I delete the light and just leave to env_projectedtexture there, the shadow on the moving brush works fine.
The wrong shadow is caused by the light entity , not the env_projectedtexture
But it's not what i was aiming for because now the part of the room where the env_projectedtexture casts a shadow, is way to dark.

The Problem that the light entity would cast a shadow that's stuck on the wall is still there.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Gemarakup
1,183 Posts
Posted Feb 07, 2014
Replied 1 hour later
Maybe you should resize and make the projected texture stronger?