Lines on transparent textures

Hi All,
I am having trouble (and always had) with line that come up along the top of textures that have alpha transparency on them.


line_problem.png


In the image above, the tree_line texture is squidmobs string object. There is a line that goesa along the the top. The line that goes across the sky is from the custom horizon texture that I have created.

Does anyone else have this problem and if so, how is it fixed.

Thank you for reading,
Nick
 
The graphics card blends each pixel into the surrounding pixels. Pixels at the edges of the texture will be blended with those on the opposite edge to allow seamless texture mapping. The top of that texture has the transparent pixels at the top beginning to blend with the opaque pixels at the bottom. One row of transparent pixels at the bottom of the texture should fix the problem, or apply a tiny vertical offset to the texture map, although this may cause some clipping.
 
Last edited:
Aaaaaaahhhhhh. Good explanation. It all makes sense now. Thank yo for that.
And, are those your tree objects in I am using. If so, thank you for those too.
 

What are you racing on?

  • Racing rig

    Votes: 528 35.2%
  • Motion rig

    Votes: 43 2.9%
  • Pull-out-rig

    Votes: 54 3.6%
  • Wheel stand

    Votes: 191 12.7%
  • My desktop

    Votes: 618 41.2%
  • Something else

    Votes: 66 4.4%
Back
Top