比较提交

...
此合并请求有变更与目标分支冲突。
/Packages/com.verasl.water-system/Scripts/Rendering/PlanarReflections.cs
/Packages/manifest.json
/ProjectSettings/ProjectVersion.txt

1 次代码提交

作者 SHA1 备注 提交日期
Florian Penzkofer a703ffc3 Enable check for RenderTextureFormat.RGB111110Float support 5 年前
共有 3 个文件被更改,包括 6 次插入8 次删除
  1. 4
      ProjectSettings/ProjectVersion.txt
  2. 8
      Packages/manifest.json
  3. 2
      Packages/com.verasl.water-system/Scripts/Rendering/PlanarReflections.cs

4
ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2019.3.0a10
m_EditorVersionWithRevision: 2019.3.0a10 (894e0aee7652)
m_EditorVersion: 2019.3.0a11
m_EditorVersionWithRevision: 2019.3.0a11 (6fa9444d8a5d)

8
Packages/manifest.json


{
"registry": "https://staging-packages.unity.com",
"dependencies": {
"com.unity.burst": "1.1.0-preview.3",
"com.unity.burst": "1.1.1",
"com.unity.mathematics": "1.0.1",
"com.unity.render-pipelines.core": "file:/Users/andremcgrail/Documents/UnityProjects/Github/SRP_Master/com.unity.render-pipelines.core",
"com.unity.render-pipelines.universal": "file:/Users/andremcgrail/Documents/UnityProjects/Github/SRP_Master/com.unity.render-pipelines.universal",
"com.unity.shadergraph": "file:/Users/andremcgrail/Documents/UnityProjects/Github/SRP_Master/com.unity.shadergraph",
"com.unity.mathematics": "1.1.0",
"com.unity.render-pipelines.universal": "7.0.0",
"com.unity.textmeshpro": "2.0.1",
"com.unity.timeline": "1.1.0",
"com.unity.ugui": "1.0.0",

2
Packages/com.verasl.water-system/Scripts/Rendering/PlanarReflections.cs


var res = ReflectionResolution(camera, UniversalRenderPipeline.asset.renderScale);
if (m_ReflectionTexture == null)
{
bool useHDR10 = true;// SystemInfo.SupportsRenderTextureFormat(RenderTextureFormat.RGB111110Float);
bool useHDR10 = SystemInfo.SupportsRenderTextureFormat(RenderTextureFormat.RGB111110Float);
RenderTextureFormat hdrFormat =
useHDR10 ? RenderTextureFormat.RGB111110Float : RenderTextureFormat.DefaultHDR;
m_ReflectionTexture = RenderTexture.GetTemporary(res.x, res.y, 16,

正在加载...
取消
保存