A problem with VertexLitGeneric

Any aspects of level design for the Source engine.

A problem with VertexLitGeneric

Postby sparkes on Sun Jul 21, 2013 4:32 pm

Hi there forum! (First post)

I am making a map for a hl2 ep2 mod and have a texture problem. I have created a door texture and a metal vent texture, both that will move within the world as the lighting on the door will change as it is opened, and the vent is a physbox object that is able to be picked up, anyway, in the VMT I am using VertexLitGeneric and am using really minimalistic properties to be honest, as I am not experienced at all in this field.

My problem is this, when I load into the game and look at the door (or the metal vent I also made) it's either REALLY bright, or if I look at the door full on it's just a black texture. Here is a screenshot of what it looks like in-game: Image

Here is the properties of the VMT: Image

I looked at a couple previous threads and they all said that selfillum 0 will fix the problem which it didn't. Compile log shows no lighting errors and I don't really know what to do. If anybody who knows better in this field knows the problem and/or solution it would be greatly appreciated!

Thanks
-Sparkes
sparkes
Dumpling
Dumpling
 
Joined: Sun Jul 21, 2013 4:19 pm

Re: A problem with VertexLitGeneric

Postby Dives on Sun Jul 21, 2013 5:20 pm

You're supposed to use LightmappedGeneric on brushes. VertexlitGeneric is for models.
User avatar
Dives
May Contain Skills
May Contain Skills
 
Joined: Sat Feb 28, 2009 9:54 pm
Location: Moorpark, CA

Re: A problem with VertexLitGeneric

Postby sparkes on Sun Jul 21, 2013 5:40 pm

Oh, I've seen it used on brushes such as func_rotating_door.

How could I achieve a change of lighting that I need without using VertexLitGeneric?

Thanks
sparkes
Dumpling
Dumpling
 
Joined: Sun Jul 21, 2013 4:19 pm

Re: A problem with VertexLitGeneric

Postby Dives on Sun Jul 21, 2013 6:41 pm

Brush lighting is static. If you want it dynamic you'll have to create a model.
User avatar
Dives
May Contain Skills
May Contain Skills
 
Joined: Sat Feb 28, 2009 9:54 pm
Location: Moorpark, CA

Re: A problem with VertexLitGeneric

Postby sparkes on Sun Jul 21, 2013 8:04 pm

Okay thanks man, much appreciated.
sparkes
Dumpling
Dumpling
 
Joined: Sun Jul 21, 2013 4:19 pm

Return to Hammer Editor Help

Who is online

Users browsing this forum: No registered users