About Store Forum Documentation Contact



Post Reply 
Disappearing leaves problem
Author Message
Querion Offline
Member

Post: #1
Disappearing leaves problem
Hey there!

I've got a little question to which solution is probably quite simple. I've put loopix plant as a "Terrain". The problem is that from the distance the animated leaves disappear while the trunks are still visible.

Any help would be much appreciated!
(This post was last modified: 11-21-2013 04:48 PM by Querion.)
11-21-2013 04:44 PM
Find all posts by this user Quote this message in a reply
Kiekos Offline
Member

Post: #2
RE: Disappearing leaves problem
Just to show what it looks like:

[Image: t79v0q.jpg]

Leaves in the first row of trees are visible but in the second row you can see only trunks.
11-21-2013 07:33 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #3
RE: Disappearing leaves problem
I had this problem with some trees when I first started with level design.

In my case changing the technique used on the leaf texture solved this. I think Leaf caused the issue whilst Blend Light Leaf was ok.

The alpha setting has an effect on the distant visibility too. I had to experiment with combinations to get it looking right.
11-21-2013 08:58 PM
Find all posts by this user Quote this message in a reply
Querion Offline
Member

Post: #4
RE: Disappearing leaves problem
So the only way is change material type to blend light leaf? There is no option to change this by code or something?
11-21-2013 10:08 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Disappearing leaves problem
This is because Alpha channel of subsequent texture lods gets smaller, and opacity decreases, especially if you're using alpha testing.
Try to change Alpha material value, and/or alpha channel on the texture.
11-23-2013 05:44 AM
Find all posts by this user Quote this message in a reply
scotty1121 Offline
Member

Post: #6
RE: Disappearing leaves problem
This happens when you set the leaves on trees to "grass" If i change the grass view range i can see all of them.
11-23-2013 10:44 AM
Find all posts by this user Quote this message in a reply
Kiekos Offline
Member

Post: #7
RE: Disappearing leaves problem
@scotty1121, yep! Increasing grass view range did the trick! smile
11-23-2013 03:31 PM
Find all posts by this user Quote this message in a reply
Post Reply