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

How often do you meet up (IRL) with your simracing friends?

  • Weekly

    Votes: 16 9.4%
  • Monthly

    Votes: 6 3.5%
  • Yearly

    Votes: 14 8.2%
  • Weekly at lan events

    Votes: 1 0.6%
  • Monthly at lan events

    Votes: 0 0.0%
  • Yearly at lan events

    Votes: 3 1.8%
  • Never have

    Votes: 134 78.4%
Back
Top