Version: 2021.1
Shadow mapping
Shadow Distance

Configuring shadows

You can configure the real-time and baked shadow settings for each Light component using the Inspector.

Each Mesh Renderer in the Scene also has a Cast Shadows and a Receive Shadows property, which must be enabled as required.

Enable Cast Shadows by selecting On from the drop-down menu to enable or disable shadow casting for the mesh. Alternatively, select Two Sided to allow shadows to be cast by either side of the surface (so backface culling is ignored for shadow casting purposes), or Shadows Only to allow shadows to be cast by an invisible GameObject.

Shadow mapping
Shadow Distance
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961