1 (edited by mardulis 2020-08-11 06:53:28)

Topic: Flickering shadows

Hi,

I've generated a multi-terrain area (4*7) with trees (generated by RWT).

I've set the terrain scale to 0.1, 0.1, 0.2 (to make trees more visible, the correct proportions are less important here).

I'm having an issue with flickering shadows - any advise?

I've tried to change the directional light biases, didn't help.


thank you

Re: Flickering shadows

Hello.

Try the following:
Select terrains, and set the Static - Everything (at the top of the inspector).

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Flickering shadows

thanks! this and the near clipping distance helped.

another one: when generating trees, the amount of trees is enormous and the scene rendering becomes very very choppy and slow - how would you recommend to overcome it? there might be a problem with the tree prefab that i defined?

thanks.

Re: Flickering shadows

Reduce the density of trees in the generation settings.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Flickering shadows

yes, tried that feature - the question is whether certain type of tree prefabs are lighter and scene could be more responsive....

which prefab are used in this tutorial? https://www.youtube.com/watch?v=thFaYlu65u8

it says in the notes that it's NATURE PACKAGE but i see there is some type of tree-structure editor?

Re: Flickering shadows

The video uses the Nature Pack.
https://assetstore.unity.com/packages/3 … -pack-1021

This package has (at least had at the time of the video recording) trees created using Unity Tree Editor.
https://docs.unity3d.com/Manual/class-Tree.html

To make the trees more responsive, adjust the fields in the Terrain / Settings / Tree & Detail Objects section. The main fields here are Tree Distance, Billboard Start, and Max Mesh Trees.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Flickering shadows

Thanks, will check it out