|
|
|
|
|
|
namespace UnityEngine.Experimental.ScriptableRenderLoop |
|
|
|
{ |
|
|
|
[System.Serializable] |
|
|
|
public struct ShadowSettings |
|
|
|
public class ShadowSettings |
|
|
|
{ |
|
|
|
public bool enabled; |
|
|
|
public int shadowAtlasWidth; |
|
|
|
|
|
|
{ |
|
|
|
get |
|
|
|
{ |
|
|
|
ShadowSettings settings; |
|
|
|
ShadowSettings settings = new ShadowSettings(); |
|
|
|
settings.enabled = true; |
|
|
|
settings.shadowAtlasHeight = settings.shadowAtlasWidth = 4096; |
|
|
|
settings.directionalLightCascadeCount = 1; |
|
|
|