visualdesigncafe / nature-renderer

Nature Renderer is a plugin for the Unity game engine to efficiently render vegetation on your terrains.
https://visualdesigncafe.com/nature-renderer/
0 stars 0 forks source link

Nature Renderer - Terrain Detail (Grass) not rendered properly on some areas #49

Open dixZo1337 opened 6 months ago

dixZo1337 commented 6 months ago

Describe the bug Hey

We are using Unity 2021.3.9f1. While most of the Grass (stylized grass shader with NR support) rendered via NR as terrain detail is just looking fine, in some random spots, it appears not to be working as intended even though the terrain texture and everything else is the absolute same. Also, this just happens in playmode, while looking at the same spots in the editor everything is looking just fine.

Check the screenshots for reference. Any idea what's going on? Help would be very much appreciated.

To Reproduce Steps to reproduce the behavior:

  1. Place Grass via Gaia or by Hand via paint tool
  2. Click on klick on play
  3. Look around, some spots are not rendered properly.
  4. Quit playmode. Everything looks just fine again in the editor.

Expected behavior Normal display of the grass without the render issue.

Screenshots Screenshot 2024-05-10 005356

Project(please complete the following information):

maxplooi commented 5 months ago

It sounds like Unity's default renderer is enabled at runtime. The red grass is probably rendered by Unity instead of Nature Renderer. Can you check if there is any script in your scene or on your terrain that is enabling the Unity renderer? (Maybe Gaia?). Note that any script that adjusts the detail rendering distance could be the cause, because a rendering distance greater than 0 will enable the default Unity renderer.