Author Topic: Still got problems with textures  (Read 835 times)

Offline Knitschi

  • FH-Betatester
  • ***
  • Posts: 324
    • View Profile
Still got problems with textures
« on: 10-12-2009, 14:12:54 »
I got the problem that the small branches on my tree, which are made with planes and alpha channel, desaturate on larger distances. The problem is hard to describe so I made some screenshots. On the left hand side is my tree, the other is a fh2 tree. On the upper right side of my tree, the branches are kind of white.



If you zoom in you can see that they have a white edge around them. I think that this happens only in areas where the lightning is bright.



as there are no such edges in the lower left area of the tree, where the branches are darker.



The FH2 tree does not show these artefacts.



This looks bad from the distance and ingame it looks even worse.



I use a DXT 5 interpolated alpha texture with mipmaps in the color slot of the static mesh material.

What exactly is used by the fh2 trees?
Do I have to consider something special for the lightmap samples or something else about lightning I dont know yet?

Offline mastert

  • Jr. Member
  • **
  • Posts: 102
  • Hungarian Front
    • View Profile
    • Hungarian Front
Re: Still got problems with textures
« Reply #1 on: 10-12-2009, 15:12:45 »
hmm you use 32 bit tga?
and in alpha channel... the white storke try use only black and white color!

Offline Knitschi

  • FH-Betatester
  • ***
  • Posts: 324
    • View Profile
Re: Still got problems with textures
« Reply #2 on: 10-12-2009, 15:12:23 »
No I use .dds format with these settings:



But in the meanwhile I changed the texture of my tree to that of the other one and it looks normal

-> the problem lies within my texture. 



I uploaded the texture that I use. Maybe some pro can take a look at it.

http://www.megaupload.com/?d=1D99X6WK

Offline mastert

  • Jr. Member
  • **
  • Posts: 102
  • Hungarian Front
    • View Profile
    • Hungarian Front
Re: Still got problems with textures
« Reply #3 on: 10-12-2009, 15:12:18 »
thats no problem try export in 32 bit

Offline Knitschi

  • FH-Betatester
  • ***
  • Posts: 324
    • View Profile
Re: Still got problems with textures
« Reply #4 on: 10-12-2009, 16:12:57 »
thats no problem try export in 32 bit

Sorry but I dont understand what you mean. I have these options when I save the image as .dds . Which of them do you mean with 32 bit.



The alpha channell of my texture before saving as dds is an 8-bit grey channel.

But I think the problem is that the picture close to the border of visibility is kind of shining through. In the screenshots of my first post I used a texture which is white at places where it has no branches. I changed the white to brown and the border of branch became brown. I guess I have to redo my texture with more overlap of alpha- and colorchannel.
« Last Edit: 10-12-2009, 16:12:06 by Knitschi »

Offline mastert

  • Jr. Member
  • **
  • Posts: 102
  • Hungarian Front
    • View Profile
    • Hungarian Front
Re: Still got problems with textures
« Reply #5 on: 10-12-2009, 17:12:00 »
i dont know which oprions use the fh team but try the 8.8.8.8 32 bpp