浏览代码

update shader config package to latest

/main
sebastienlagarde 5 年前
当前提交
3685f8e6
共有 5 个文件被更改,包括 11 次插入5 次删除
  1. 5
      LocalPackages/com.unity.render-pipelines.high-definition-config/CHANGELOG.md
  2. 4
      LocalPackages/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs
  3. 1
      LocalPackages/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs.hlsl
  4. 6
      LocalPackages/com.unity.render-pipelines.high-definition-config/package.json

5
LocalPackages/com.unity.render-pipelines.high-definition-config/CHANGELOG.md


The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [8.0.0] - 2019-XX-XX
## [Unreleased]
Version Updated
The version number for this package has increased due to a version update of a related graphics package.
## [7.1.1] - 2019-09-05

4
LocalPackages/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs


#endif
AreaLights = 1,
DeferredShadowFiltering = HDShadowFilteringQuality.Medium
DeferredShadowFiltering = HDShadowFilteringQuality.Medium,
BarnDoor = 0
};
// Note: #define can't be use in include file in C# so we chose this way to configure both C# and hlsl

public static int s_XrMaxViews = (int)ShaderOptions.XrMaxViews;
public static int s_PrecomputedAtmosphericAttenuation = (int)ShaderOptions.PrecomputedAtmosphericAttenuation;
public static int s_AreaLights = (int)ShaderOptions.AreaLights;
public static int s_BarnDoor = (int)ShaderOptions.BarnDoor;
public static HDShadowFilteringQuality s_DeferredShadowFiltering = (HDShadowFilteringQuality)ShaderOptions.DeferredShadowFiltering;
}
}

1
LocalPackages/com.unity.render-pipelines.high-definition-config/Runtime/ShaderConfig.cs.hlsl


#define SHADEROPTIONS_XR_MAX_VIEWS (2)
#define SHADEROPTIONS_AREA_LIGHTS (1)
#define SHADEROPTIONS_DEFERRED_SHADOW_FILTERING (1)
#define SHADEROPTIONS_BARN_DOOR (0)
#endif

6
LocalPackages/com.unity.render-pipelines.high-definition-config/package.json


{
"name": "com.unity.render-pipelines.high-definition-config",
"description": "Configuration files for the High Definition Render Pipeline.",
"version": "7.1.2",
"version": "8.0.0",
"unityRelease": "0a3",
"unityRelease": "0a15",
"com.unity.render-pipelines.core": "7.1.2"
"com.unity.render-pipelines.core": "8.0.0"
}
}
正在加载...
取消
保存