Blocking vis but not light; blocking a v Created 15 years ago2009-02-06 17:32:19 UTC by Luke Luke

Created 15 years ago2009-02-06 17:32:19 UTC by Luke Luke

Posted 15 years ago2009-02-06 17:32:56 UTC Post #262372
(Gotta love the title cut-off. You'd think a character limit for the text box would be in place.)

This is two different questions, so try to bear with me.

First, is there a way to block vis but not light?

I want something to work much the same way the null texture in GoldSource works, but I can't find anything on the subject.

Second, I need to block the player's view. The catch is, though, it has to render the skybox where the brush is.

I tried using the skybox texture, but it still renders objects past it when looking at it from anywhere. I'm not sure how to explain it any other way.

Thanks.
Luke LukeLuke
Posted 15 years ago2009-02-06 17:45:58 UTC Post #262373
nodraw is the null of Source, perhaps that is what you're looking for?
Notewell NotewellGIASFELFEBREHBER
Posted 15 years ago2009-02-06 18:03:46 UTC Post #262374
Doesn't nodraw block light, though?
Luke LukeLuke
Posted 15 years ago2009-02-06 18:08:49 UTC Post #262375
Uh... maybe you could turn it into a func_detail...?
Notewell NotewellGIASFELFEBREHBER
Posted 15 years ago2009-02-06 18:31:46 UTC Post #262378
Than it wouldn't block vis anymore.

Thanks for the suggestions, but I need someone with a definitive answer.

As for nodraw, after a test, it does indeed block light.

Another observation I made:
My second question is basically trying to pull of what is done on Dustbowl in TF2. When you're in one area, if you look over a mountain, you won't see the next area. You see the skybox, and that's it.

I did impulse 107 on the wall, and it's still a skybox texture. This doesn't make sense because because when I did the same thing it didn't work.

Any suggestions?
Luke LukeLuke
You must be logged in to post a response.