custom texture aren't working

Avatar
protoborg
288 Posts
Posted Dec 16, 2012
Is it me or is Portal 2 being a royal pain int he butt lately? Well, I guess HAMMER, but still. I have made custom textures before. Now suddenly, they show up as the purple error texture in HAMMER (and, by extension, in-game). I can't think of anything I might be doing wrong. I could use some help. I'm using VTFEDit version 1.3.0. I don't know if that makes any difference.

EDIT: I installed the latest version of VTFEdit and the problem is fixed. [facepalm]
EDIT2: The animated texture shows up as nothing but black. The standard, non-animated custom texture shows up correctly, however.

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Dec 17, 2012
Replied 4 hours later
Would you post your .vmt files content? Also say what kind of texture are you creating, is it an overlay or a simple texture? does it have any transparency or they're all spot colours?
Avatar
protoborg
288 Posts
Posted Dec 17, 2012
Replied 1 hour later
simple texture with alpha
Avatar
josepezdj
2,386 Posts
Posted Dec 17, 2012
Replied 8 minutes later
Have you checked out in VTFEdit > View > Mask? Anyway, where are you seeing the texture in black? after using it into your map (in the 3D view), only in the hammer texture browser or in game?
Avatar
Lpfreaky90
2,842 Posts
Posted Dec 17, 2012
Replied 2 hours later
You were probably using an old vtf version. If you download the newest vtf edit and just set it to version 7.5 you're fine in portal 2 :smile: The older vtf versions are messing up in portal 2 :wink:
Avatar
protoborg
288 Posts
Posted Dec 17, 2012
Replied 2 hours later

josepezdj wrote:
Have you checked out in VTFEdit > View > Mask? Anyway, where are you seeing the texture in black? after using it into your map (in the 3D view), only in the hammer texture browser or in game?

In-game it is still just a black section of wall. I used it as an overlay on the wall.
EDIT: Turns out the reason the animated texture didn't show as anything more than black was because it was unlit and so, even with full_bright on, it would not show up. It is still weird that the static texture was displaying correctly.

Lpfreaky90 wrote:
You were probably using an old vtf version. If you download the newest vtf edit and just set it to version 7.5 you're fine in portal 2 :smile: The older vtf versions are messing up in portal 2 :wink:

Actually, it turned out I just needed to light the texture with an actual light. full_bright simply didn't do it. Although, I don't get why it only effected the animated texture.

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Dec 17, 2012
Replied 36 minutes later
Can you post your .vmt file content? This way it would be easier :biggrin: