- Home /
Tree shadow problem / billboard trees
Hello,
I got big problem with tree shadowing. Ive got billboard start parameter at 350 units, billboard fade 200 units.
Tree them self works great - they fade from billboard to normal mesh very good. But when my tree goes out of camera - but shadow is still viewable - i got this effect that tree going into billboard when i moving camera view target out of it.
Movie : CLICK
Only solution I found is to turn up billboard start parameters to very high (but my fps drops very much) or set billboard fade to 0 units - and this way my trees pops without any fading into scene - its not nice. I found out too - that this only happening on four cascades shadow - on 2 cascades all works great. But quality is not good for me so I must stick to 4-cascades shadows.
Any ideas? I try everything - i search forum for answers but nothing I found.
p.s I got this effect in editor too - not only player
Weird one. Wouldn't lightmapping be better for that (with most resolution on the road), or is the sun actually dynamic?
Answer by Grady · Jul 04, 2011 at 08:54 AM
well one solution you could do, is when you have finished making your game, and you are just about to build it, you could turn up the billboard start parameters then, and then hopefully when you build your game, the fps will be normal.
This sometimes happens in the editor, as there is stuff going on in the background which can slow it right down in different cases.
but you could try this....
very nice looking game by the way!!!!!
hope this helps!
-Grady
Answer by Rafffff · Jul 14, 2011 at 12:08 PM
Darek Can you contact with me to rafal-zowal@tlen.pl
// masz polskie imię więc podejrzewam, ze Polak ^^
Answer by Waz · Jul 14, 2011 at 12:35 PM
What is your scale? Those trees seem to be all billboarded at way under 200m. Basically, your billboard distance is too small. Since youre getting unacceptable performance with a sufficient distance, I would suggest you use lightmapping for the shadows, or greatly reduce the complexity of your trees.
Your answer
Follow this Question
Related Questions
Lightmapping shows lighter areas cast by tree shadows 1 Answer
Trees have no shadows (baked shadow) 1 Answer
Leaf Billboard light issues 0 Answers
Invisible Tree Billboards....???? 1 Answer
Shadows in terrains 1 Answer