AmbientRun / Ambient

The multiplayer game engine
https://ambient.run
Apache License 2.0
3.79k stars 122 forks source link

Fix the unity trees #983

Open FredrikNoren opened 1 year ago

FredrikNoren commented 1 year ago

This is what they should look like: Screenshot 2023-09-27 at 19 05 55

This is what they are looking like currently: Screenshot 2023-09-27 at 18 54 37

I see at least three problems:

  1. The needles are way to thin
  2. All lods are rendered
  3. One of the lods is 90 degrees off
ten3roberts commented 1 year ago

You mentioned that you managed to find the cause of the needles white outline? @FredrikNoren

Could you write it down here and the relevant branch?

FredrikNoren commented 1 year ago

@ten3roberts Yeah the white outlines most likely came from the background of the webpage "shining through". Our shaders are writing alpha values, so the entire canvas on the web becomes semi-transparent. I had the same problem with the golden images (their alpha values were not always 255), so had to set alpha to 255 on them everywhere.

We should restore the alpha cutoff to whatever it was before as well.