Author Topic: Global Snow 2 Decals Version Causing Transparent Trees on LOD2 Branches  (Read 34 times)

whydoisay

  • Newbie
  • *
  • Posts: 8
    • View Profile
Hi folks,

I've run into another issue, this time with SpeedTrees becoming transparent so you can see behind them, just like grass becoming transparent problem. I've narrowed it down and it only happens on LOD2, not LOD0 or LOD1, and it only seems to affect the Branches. Fronds and leaves are not impacted. So I have an okay workaround right now of changing LOD2 Branches shaders back to normal Nature/SpeedTree shaders instead of Global Snow 2/Nature/SpeedTree shaders, but it would be preferable to have that fixed.

I have reproduced it by creating some Palm SpeedTrees from the free SpeedTrees pack, moving their LOD0 and LOD1 sliders way to the left so you get the LOD2 very quickly when backing up. You don't even have to enter play mode; you can see it from the editor. Just scroll back away from the palm trees and as soon as you hit LOD2 to they will become transparent. I created some colored terrain just so it would have something to contrast against and so you could see the terrain through the tree.

Here's my project where I reproduced it: https://drive.google.com/file/d/1evFXNbQwh5HgKxyli7qhX7BmrwFnqTs1/view?usp=sharing

Thanks!

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 5292
    • View Profile
Thanks for the project, will take a look into it soon and get back to you.

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 5292
    • View Profile
It seems I can't replicate the issue with the different LODs or billboards:
Here's a video with some tests: https://youtu.be/D2yptmLBzRA

The original trees were "Tree Creator" trees and not SpeedTrees so I added one Palm speedtree.
You can see in the video the billboards react to the "Billboard Coverage" but they never get transparent..

Maybe the repro scene was not saved correctly?

whydoisay

  • Newbie
  • *
  • Posts: 8
    • View Profile
Hi,

Here's a video of the issue:  https://youtu.be/AeZCX5_WOaU

I think I might have had both versions of the test project in that zip, so I repackaged it to eliminate confusion. Here's an updated version:

https://drive.google.com/file/d/1B-zeG_aXHYsWDd_d9w0z8Fk5mXGxyb8s/view?usp=sharing

I just used that exact version to make the video showing the issue.

Thanks!

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 5292
    • View Profile
Thanks for the new project. Yes, it confirms there's no transparency issue - it's the "style" used to cover billboards. To add variety to the snow over the single billboard quad (since billboards have uniform normals), it uses the albedo green color as a "noise" factor, producing that kind of effect.
I've improved the billboard shader so it gives more importance to the vertical position. Check out latest v1.4.1 version and use the "Billboard Coverage" slider in the inspector to control the amount of snow on those billboards.