LizzyFox-code / BrgContainer

The Unity BRG Container
MIT License
62 stars 6 forks source link

Shadow looks a bit weird #15

Open yuafa opened 1 month ago

yuafa commented 1 month ago

Under the same distance and shadow settings, the default rendering can display shadows, but when using BrgContainer for rendering, shadows are not visible. To display shadows, it is necessary to decrease the CascadeCount or increase the MaxDistance value in the Shadows setting. This may reduce the quality of shadows rendered by other defaults. Is there a way to make the shadows consistent with the default rendering?

1 2
LizzyFox-code commented 4 weeks ago

Hi! What is Unity version? BRG works more or less well from 2021.x to 2023.2.x (in Unity 6 - 2023.3.x BRG has some bugs).

yuafa commented 4 weeks ago

Thank you for your response. The version of Unity I am using is 2022.3.22. The screenshot example comes from the Hello World in the Samples, and after adding a camera and plane to it, I found that the shadows are inconsistent with the default rendering.

Camera position = (0, 0, -40)

Plane position = (0, -20, 0) scale = (100, 100, 100)