The tree fern must use nature/soft occlusion shader

I got an error : The tree fern must use nature/soft occlusion shader.Otherwise billboarding/lighting will not work correctly.
How to solve this problem.Tell me what to do .Thank you.

2 Likes

Change it’s material to nature/soft occlusion shader.

1 Like

Where do I get nature/soft occlusion shader from?..It’s not in my assets

Š”Š°Š²Š»ŃŽ ŃŃ‚Š¾Ń‚ ŃˆŠµŠ¹Š“ŠµŃ€ Дерево темное

It’s a shader that you put on the material of the tree object. If you go to the material you can change the material type to the soft occlusion shader.


But as you might be able to tell, my problem here is that I’m using URP, meaning that shader doesn’t work at all, and the little warning tends to take up space for the actual errors

6 Likes

Same thing here, meaningless error

how do i do this with the paint trees tool?

It’s unclear from the warning message but you can remove this warning by adding LODs to the object in question, in the OPs case add an LOD group to the ā€˜fern’ object. If you wish to have a fast way of doing this consider using ā€˜AutoLOD’, its developed by Unity and works pretty well. Link to the repo is here, and you can import it through the package manager with the github link:

https://github.com/Unity-Technologies/AutoLOD

2 Likes

just starting with Unity and I must say it is extremely time consuming and cumbersome and poorly documented. It looks nice in the youtube videos, but actually making something so far impossible, I go from error to error without finding any solid step by step documentation on how to get started.

5 Likes

I have 10 years of Unity. With Unity, 2 steps forward, 3 steps back unfortunately. We spend more time correcting than creating.

1 Like

Same for me. Cannot setup correct tree bending because of this error. Plus I’m unable to set bending factor with LOD. Unity is becoming disappointing.

** How-to fix NATURE/SOFT OCCLUSION: Solution Steps

Assets > Asset Resources > TerrainSampleAssets > Prefabs > Ambient-Occlusion
Create a ā€˜new’ folder named Ambient-Occlusion

For any and ALL problematic plants
For example, Drag&Drop the PREFABS: Fern_B, Grass_B

Now, goto the Materials folder
For example, select Fern

IMPORTANT !!
Change Shader |Nature/Tree Soft Occlusion Leaves |

Now, goto the Textures > Details folder
Main Texture Drag&Drop Fern_BaseColor

Close and RELOAD project
You’re Welcome in advance. Yellow Console Error shall now be GONE…
ā€œWith time and some ā€˜digging into it’ research… Ye’ SHALL eventually figure it out. That is I.ā€

ā€œIn life, I guess there are those that CAN, and then there are those that… just should QUIT because they cry too much!ā€ Real easy fix, too.

Thank you ALL at Unity. You guys are AWESOME !!

1 Like