浏览代码

Tests are passing locally right now

/keypoint_self_occlusion
Steve Borkman 3 年前
当前提交
5710292e
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      com.unity.perception/Editor/GroundTruth/ShaderPreprocessor.cs

7
com.unity.perception/Editor/GroundTruth/ShaderPreprocessor.cs


#endif
for (var i = data.Count - 1; i >= 0; --i)
{
var skeys = data[i].shaderKeywordSet.GetShaderKeywords();
foreach (var s in skeys)
{
var txt = ShaderKeyword.GetGlobalKeywordName(s);
txt = ShaderKeyword.GetKeywordName(shader, s);
}
data[i].shaderKeywordSet.Enable(enabled);
data[i].shaderKeywordSet.Disable(disabled);
}

正在加载...
取消
保存