Preventing texture from creating transparent gaps on edges

Apprentice
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
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
extrude more?
Quote this message in a reply
Apprentice
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,247
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 6,183 Jul 31, 2011 08:13 PM
Last Post: FlamingHairball
  [SOLVED]OpenGL edges of textures mk12 2 4,322 Sep 2, 2010 08:07 PM
Last Post: mk12
  Replacing edges with degenerate quads (for shadow volumes) Coyote 9 7,526 Jan 15, 2010 07:08 PM
Last Post: Coyote
  Transparent textures kordeul 2 2,548 Aug 27, 2007 01:38 AM
Last Post: kordeul
  Smoothing out curved aliased texture edges WhatMeWorry 2 3,082 Dec 15, 2005 05:11 AM
Last Post: dfmoore