Preventing texture from creating transparent gaps on edges

Posts: 11
Joined: 2013.10
Post: #1
The texture I'm using is doing filtering for the edges but it creates gaps for the extrusion.

[Image: ScreenShot2014-01-17at75149AM.png]

The yellow shape is the texture, the white shape is an extrusion and the red shape is the background.

The red background should not be seen between the face, the yellow shape, and the extrusion.

What approach should I use?
Quote this message in a reply
Posts: 5,143
Joined: 2002.04
Post: #2
extrude more?
Quote this message in a reply
Posts: 11
Joined: 2013.10
Post: #3
But that will still give you the view of the inside and possible outside where the extrude and face supposedly connects.
Quote this message in a reply
⌘-R in Chief
Posts: 1,277
Joined: 2002.05
Post: #4
Right now it's like the extrusion bounds are going through the center of the texture's edge, when it needs to extend all the way to the inside edge of the texture's edge.

The two could line up exactly if they were using the same points defining the curve and were rasterized at the same resolution, but clearly that's not the case. Your only choice is to ensure the extrusion covers up the lower-res texture edge by simply extruding that side more.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Create Aquaria-like terrain- texturing edges AndyKorth 3 8,233 Jul 31, 2011 08:13 PM
Last Post: FlamingHairball
  [SOLVED]OpenGL edges of textures mk12 2 6,074 Sep 2, 2010 08:07 PM
Last Post: mk12
  Replacing edges with degenerate quads (for shadow volumes) Coyote 9 11,820 Jan 15, 2010 07:08 PM
Last Post: Coyote
  Transparent textures kordeul 2 3,977 Aug 27, 2007 01:38 AM
Last Post: kordeul
  OpenGL, SDL, and Transparent Bitmaps RyanA 4 6,028 Jun 26, 2006 04:26 PM
Last Post: RyanA