light-emitting textures Created 15 years ago2009-02-13 22:40:33 UTC by Captain Terror Captain Terror

Created 15 years ago2009-02-13 22:40:33 UTC by Captain Terror Captain Terror

Posted 15 years ago2009-02-13 22:40:33 UTC Post #262638
My ep2 maps were coming out much brighter than i expected, and i found that the vgui/achievemtnts/... textures emit light. I also had a room textured with Alyx Vance's face (don't ask) and noticed that it also emits light.

Is there a list or way to tell what textures emit light like this--it's not the lights.rad file, because none of these textures are in der. Also, is there a way to make them NOT emit light, in case a situation called for it?

[/incessant noob q's]
Captain Terror Captain Terrorwhen a man loves a woman
Posted 15 years ago2009-02-13 23:03:01 UTC Post #262640
...VTF coding...? Copy the images and make a new texture, I guess. And because you mentioned it, Why did you have a room textured with Alyx's face? Just so you can gaze in awe at it?
Notewell NotewellGIASFELFEBREHBER
Posted 15 years ago2009-02-14 21:05:07 UTC Post #262695
LOL i was going to make a big mechanical mouth on her(like a cyborg) and make it so you walked through... = )
Captain Terror Captain Terrorwhen a man loves a woman
Posted 15 years ago2009-02-28 09:59:25 UTC Post #263437
They don't necessarily emit light per se, the problem is that they are model/GUI textures, not intended for world surfaces, and they are using lighting methods defined in the VMT which are unsuitable for a compiled source engine map.

The solution is to not use textures that have /models, /vgui, /sprites, etc, in their pathnames. If you really need a world texure of Alyx's face, you can extract the appropriate VMT file from the HL2/Ep2 GCF to your game directory, open it in notepad, and change the header in the file from "VertexLitGeneric" to "LightmappedGeneric"; that will tell it to use world-based lightmapping methods instead of being vertex lit which is only suitable for model geometry.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 15 years ago2009-03-03 14:52:42 UTC Post #263665
Thanks Rabid! = )

Yeah i wish hammer 4 didn't clump all the model textures and sprites into the texture browser, and/or i wish i was smarter about using the texture browser filters, but meh. your suggestions help me in that area though so thanks. = )

If i do what you told me with renaming the header file, then i will have two "alyx head" textures when i browse, or will i be modifying the original?
Captain Terror Captain Terrorwhen a man loves a woman
You must be logged in to post a response.