您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
35 行
1.1 KiB
35 行
1.1 KiB
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using System;
|
|
|
|
namespace UnityEngine.Experimental.Rendering.HDPipeline
|
|
{
|
|
// All the structures here represent global engine settings.
|
|
// It means that they are supposed to be setup once and not changed during the game.
|
|
// All of these will be serialized in the HDRenderPipelineInstance used for the project.
|
|
[Serializable]
|
|
public class GlobalTextureSettings
|
|
{
|
|
public const int kHDDefaultSpotCookieSize = 128;
|
|
public const int kHDDefaultPointCookieSize = 512;
|
|
public const int kHDDefaultReflectionCubemapSize = 128;
|
|
|
|
public int spotCookieSize = kHDDefaultSpotCookieSize;
|
|
public int pointCookieSize = kHDDefaultPointCookieSize;
|
|
public int reflectionCubemapSize = kHDDefaultReflectionCubemapSize;
|
|
public bool reflectionCacheCompressed = false;
|
|
}
|
|
|
|
[Serializable]
|
|
public class GlobalRenderingSettings
|
|
{
|
|
public bool supportShadowMask;
|
|
|
|
public bool supportSSSAndTransmission;
|
|
public bool supportDBuffer;
|
|
|
|
public bool supportSSR;
|
|
public bool supportSSAO;
|
|
}
|
|
}
|