Slight lighting problem

Zephyr

L1: Registered
Aug 24, 2008
27
2
Hey everyone, I'm working on texturing and lighting my map ctp_epsilon, and I've run into a slight problem. Sometimes as I go about the map (in-game) the textures suddenly go black, then when I look somewhere else they jump to bright, it's mainly as I walk through open areaportals I realize everything looks dark, then as I pass through it all brightens up really abruptly.

Any tips on how to fix that?

Also, I'm using some tile/ textures for my floors and they're extremely overly shiny, not only that, but the shine is the same image overlayed onto it from anywhere in the map, it's not properly reflecting things, do I need a seperate cubemap just for them? Thanks
 

Altaco

L420: High Member
Jul 3, 2008
484
120
It's either an HDR thing, or you're using model textures.

Make sure the textures you're using don't start with models/ or props/.

You can go into the texture browser, check the "only used textures" box, and then enter "model" into the filter box.
 

Zephyr

L1: Registered
Aug 24, 2008
27
2
That's it, thanks, is there any way to use these textures without that problem? I'd like to keep the textures that I'm using.

Edit: I found suitable replacements, is there any way to find all of the instances of a texture in a map?
 
Last edited:

toutfou

L3: Member
Sep 8, 2008
136
16
Edit: I found suitable replacements, is there any way to find all of the instances of a texture in a map?
Check out the 'Replace' button in the texture application tool, that should do what you're after.
 
Dec 25, 2007
566
441
You don't use model textures (i.e. VertexLitGeneric) on world brushes, because they're not lightmapped, instead they're uniformly lit from a point. With models, that point is the model origin; with world brushes, that point is where the player is standing, so brushes will go light and dark as the player moves in and out of shadow.
 

Zephyr

L1: Registered
Aug 24, 2008
27
2
Thanks I got it all fixed, one more thing,

I'm using some tile/ textures for my floors and they're extremely overly shiny, not only that, but the shine is the same image overlayed onto it from anywhere in the map, it's not properly reflecting things, do I need a seperate cubemap just for them? Thanks!
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,815
Was there a leak in your map? Check it, sometimes that causes the cubemaps to just reflect the empty skybox.

The fact that your tiles are shiney leads me to believe you're using a HL2 texture. Type in "TF" into the keywords filter to show a list of only TF2 textures and try using them. There are a few tile texture you might find as suitable replacements for what you have (that will negate this problem of yours). TF2 textures generally don't have (or require) reflections due to the games lighting features and the games thematic style unwarrants such realistic-ness.