Tearing overlay

Any aspects of level design for the Source engine.

Tearing overlay

Postby InterValve on Mon Aug 25, 2014 5:12 pm

I placed one overlay on 2 brush faces and/or over 2 separate brushes at an angle between 0 and 90 degrees. The result is the same, the overlay being split in two with a very noticeable transparent line. What is even stranger, this only happens in-engine but in Hammer the overlay is continuous. I annexed screenshots, in this example the angle is at 90 degrees but as I said it would be the same with any angle, like 30 for instance.




Image
Image
Image
Image
InterValve
Regular
Regular
 
Joined: Fri Dec 05, 2008 6:07 pm

Re: Tearing overlay

Postby m.anderson on Mon Aug 25, 2014 8:49 pm

Someone else created a post illustrating the same exact issues as you, with textures not remaining seamless across surfaces. All information I've been able to gather shows that this is simply a shortcoming of source. When I decompiled Valve maps I saw they dealt with this by slightly scaling up the textures and shifting the justification in slightly. You're basically clipping off the edges of the textures, which means the textures won't be perfectly seamless. However, most people won't really notice, especially considering the age of the engine.

Here's the other thread: http://www.interlopers.net/forum/viewtopic.php?f=47&t=37790
User avatar
m.anderson
Regular
Regular
 
Joined: Tue Oct 20, 2009 2:08 am
Location: Los Angeles, CA

Re: Tearing overlay

Postby InterValve on Tue Aug 26, 2014 7:23 pm

Well, I know about the tiling problem, however in my case it's an overlay and it's not tiled at all. It's one big texture applied over 2 sides of one brush, at an angle. So the line you see is in the middle of the graffiti overlay, not the bricks. The bricks are fine.
InterValve
Regular
Regular
 
Joined: Fri Dec 05, 2008 6:07 pm

Re: Tearing overlay

Postby Riomaki on Thu Aug 28, 2014 7:24 pm

To be fair, though - who would tag something in such a manner? Someone who didn't compensate for the size of their graffiti before they started? ;)
Riomaki
Regular
Regular
 
Joined: Sun Jul 14, 2013 12:28 am

Re: Tearing overlay

Postby Stormy on Thu Aug 28, 2014 10:59 pm

Yeah but overlays are useful for other things as well, not just graffiti. Try beveling that edge, it might be some calculation problem due to a sharp angle.
User avatar
Stormy
May Contain Skills
May Contain Skills
 
Joined: Sun Nov 28, 2010 6:03 am
Location: Cairns, QLD, AUS

Re: Tearing overlay

Postby m.anderson on Thu Aug 28, 2014 11:42 pm

wait, that's one overlay applied to two faces that are at 90 degrees from each other? Have you tried making that two separate overlays and aligning them? I would imagine overlays start to do weird things when the applied faces have wildly different facing angles.
User avatar
m.anderson
Regular
Regular
 
Joined: Tue Oct 20, 2009 2:08 am
Location: Los Angeles, CA

Return to Hammer Editor Help

Who is online

Users browsing this forum: No registered users