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.
 

Latest News

What would make you race in our Club events

  • Special events

    Votes: 2 10.5%
  • More leagues

    Votes: 1 5.3%
  • Prizes

    Votes: 3 15.8%
  • Trophies

    Votes: 2 10.5%
  • Forum trophies

    Votes: 0 0.0%
  • Livestreams

    Votes: 4 21.1%
  • Easier access

    Votes: 15 78.9%
  • Other? post your reason

    Votes: 2 10.5%
Back
Top