浏览代码

HDRenderPipeline: Small fix to script to update SSS

/Yibing-Project-2
sebastienlagarde 7 年前
当前提交
ea9e073c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      ScriptableRenderPipeline/HDRenderPipeline/Editor/HDRenderPipelineMenuItems.cs

4
ScriptableRenderPipeline/HDRenderPipeline/Editor/HDRenderPipelineMenuItems.cs


{
int ivalue = materials[i].GetInt("_SubsurfaceProfile");
materials[i].SetInt("_SubsurfaceProfile", ivalue + 1);
}
EditorUtility.SetDirty(materials[i]);
EditorUtility.SetDirty(materials[i]);
}
}
else if ( materials[i].shader.name == "HDRenderPipeline/LayeredLit" ||
materials[i].shader.name == "HDRenderPipeline/LayeredLitTessellation")

正在加载...
取消
保存