浏览代码

Strip remaining UI additions to feature

/main
John 7 年前
当前提交
34fe29e6
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 6
      ScriptableRenderPipeline/LightweightPipeline/LWRP/Editor/LightweightAssetEditor.cs

6
ScriptableRenderPipeline/LightweightPipeline/LWRP/Editor/LightweightAssetEditor.cs


}
AnimBool m_ShowSoftParticles = new AnimBool();
AnimBool m_ShowScreenSpaceShadows = new AnimBool();
private int kMaxSupportedPixelLights = 8;
private float kMinRenderScale = 0.1f;

void OnDisable()
{
m_ShowSoftParticles.valueChanged.RemoveListener(Repaint);
m_ShowScreenSpaceShadows.valueChanged.RemoveListener(Repaint);
//TODO: Right now disabling MSAA cuts the depth prepass to generate the depth texture. For now, disable SS shadows as well.
// When the depth prepass does not occur, depth is copied *after* opaque, which does not help us in this situation.
m_ShowScreenSpaceShadows.target = m_RequireDepthTextureProp.boolValue && m_MSAA.intValue > 1;
}
void DrawAnimatedProperty(SerializedProperty prop, GUIContent content, AnimBool animation)

正在加载...
取消
保存