visualdesigncafe / nature-shaders

https://visualdesigncafe.com/nature-shaders/
0 stars 0 forks source link

Nature Shader 2022 Unity 2022 LTS : Tree Trunk not fully displayed as compared to Prefab. #14

Open krazyxiii opened 3 months ago

krazyxiii commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Setup URP project
  2. Install Nature Renderer 2022 and Nature Shader 2022 packages.
  3. Create Terrain and Setup Nature Renderer Component
  4. Select Tree Prefab object, Unpack and setup Leaves and Trunk materials to Nature Shader Tree Bark and Nature Shader Tree Leaves
  5. Create new Nature Shader configured Tree Prefab
  6. Drag new prefab to terrain to test
  7. Add new tree prefab to Terrain under Nature Renderer Trees
  8. Paint new Tree to Terrain

Expected behavior Painted tree from Terrain tree prototypes should be visually the same as prefab

Screenshots If applicable, add screenshots to help explain your problem.

image

Project(please complete the following information):

System (please complete the following information):

Additional context I also included details on the materials configured. Please note the terrain painted tree in the red square; the tree trunk has some broken/transparent parts. I get the same broken visual when I create a Nature Asset with the prefab. If it helps I'm using PolyArt Dreamscape Tower and Dreamscape Meadows trees.

Thanks

krazyxiii commented 3 months ago

Seems ok for now, Maybe there was something wrong with the Mesh or the Texture. I will continue to monitor. If I don't come across this issue again in the next few scenes/days I will close this issue. Thanks

maxplooi commented 2 months ago

Is this still an issue? It looks like it happens because alpha clipping is enabled on the trunk (tree bark) material. Disabling alpha clipping should fix it.