Antoine Lelievre
7 年前
当前提交
71ec7369
共有 62 个文件被更改,包括 797 次插入 和 1094 次删除
-
17TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/1x_Materials/1401_StackLit/TestStackMat_Dielectric_SSS.mat
-
14TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/9x_Other/9001_Decals/Decal_All_ColorTint.mat
-
14TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/9x_Other/9001_Decals/Decal_BlendMask.mat
-
14TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/9x_Other/9001_Decals/Decal_BlendMask_Factor05.mat
-
14TestProjects/HDRP_Tests/Assets/GraphicTests/Scenes/9x_Other/9001_Decals/Decal_BlendMask_NoAlbedo.mat
-
998TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/1401_StackLit.png
-
3build.py
-
16com.unity.render-pipelines.core/CoreRP/Textures/TextureCache.cs
-
2com.unity.render-pipelines.core/package.json
-
6com.unity.render-pipelines.high-definition/CHANGELOG.md
-
6com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/HDReflectionProbeEditor.cs
-
12com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/HDReflectionProbeUI.Drawers.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/HDReflectionProbeUI.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/PlanarReflectionProbeUI.Drawers.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/InfluenceVolumeUI.Drawers.cs
-
8com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/InfluenceVolumeUI.Gizmos.cs
-
12com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/InfluenceVolumeUI.Handles.cs
-
8com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/InfluenceVolumeUI.cs
-
38com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/ProxyVolumeUI.cs
-
12com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Reflection/Volume/SerializedProxyVolume.cs
-
2com.unity.render-pipelines.high-definition/HDRP/Editor/Material/Decal/DecalUI.cs
-
44com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDPBRPass.template
-
14com.unity.render-pipelines.high-definition/HDRP/Editor/ShaderGraph/HDUnlitPassForward.template
-
4com.unity.render-pipelines.high-definition/HDRP/Lighting/LightLoop/LightLoop.cs
-
1com.unity.render-pipelines.high-definition/HDRP/Lighting/LightLoop/LightLoop.hlsl
-
7com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDAdditionalReflectionData.cs
-
7com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/HDProbe.cs
-
15com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/PlanarReflectionProbe.cs
-
35com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/ProbeWrapper.cs
-
25com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/Volumes/InfluenceVolume.cs
-
42com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/Volumes/ProxyVolume.cs
-
32com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/Volumes/ReflectionProxyVolumeComponent.cs
-
9com.unity.render-pipelines.high-definition/HDRP/Lighting/Reflection/Volumes/ShapeType.cs
-
6com.unity.render-pipelines.high-definition/HDRP/Material/Builtin/BuiltinData.cs
-
26com.unity.render-pipelines.high-definition/HDRP/Material/Builtin/BuiltinData.cs.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.shader
-
23com.unity.render-pipelines.high-definition/HDRP/Material/Decal/DecalData.hlsl
-
2com.unity.render-pipelines.high-definition/HDRP/Material/Decal/DecalProperties.hlsl
-
6com.unity.render-pipelines.high-definition/HDRP/Material/LayeredLit/LayeredLitData.hlsl
-
51com.unity.render-pipelines.high-definition/HDRP/Material/Lit/Lit.hlsl
-
45com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitBuiltinData.hlsl
-
10com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitData.hlsl
-
5com.unity.render-pipelines.high-definition/HDRP/Material/MaterialEvaluation.hlsl
-
62com.unity.render-pipelines.high-definition/HDRP/Material/MaterialUtilities.hlsl
-
39com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLit.hlsl
-
46com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLitData.hlsl
-
18com.unity.render-pipelines.high-definition/HDRP/Material/Unlit/UnlitData.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassDepthOnly.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassDistortion.hlsl
-
4com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassForward.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassForwardUnlit.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassGBuffer.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassLightTransport.hlsl
-
3com.unity.render-pipelines.high-definition/HDRP/ShaderPass/ShaderPassVelocity.hlsl
-
2com.unity.render-pipelines.high-definition/package.json
-
2com.unity.render-pipelines.lightweight/package.json
-
1com.unity.shadergraph/CHANGELOG.md
-
62com.unity.shadergraph/Editor/Data/Nodes/Input/Matrix/TransformationMatrixNode.cs
-
2com.unity.shadergraph/Editor/Data/Nodes/Input/Scene/CameraNode.cs
-
6com.unity.shadergraph/Editor/Data/Util/MatrixNames.cs
-
2com.unity.shadergraph/package.json
-
2com.unity.testframework.graphics/package.json
998
TestProjects/HDRP_Tests/Assets/ReferenceImages/Linear/WindowsEditor/Direct3D11/1401_StackLit.png
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
namespace UnityEngine.Experimental.Rendering.HDPipeline |
|||
{ |
|||
public class ReflectionProxyVolumeComponent : MonoBehaviour |
|||
public class ReflectionProxyVolumeComponent : MonoBehaviour, ISerializationCallbackReceiver |
|||
enum Version |
|||
{ |
|||
First, |
|||
IncludeInfiniteInShape, |
|||
// Add new version here and they will automatically be the Current one
|
|||
Max, |
|||
Current = Max - 1 |
|||
} |
|||
|
|||
[SerializeField] |
|||
int m_Version; |
|||
|
|||
/// <summary>Access to proxy volume parameters</summary>
|
|||
|
|||
void ISerializationCallbackReceiver.OnBeforeSerialize() |
|||
{ |
|||
} |
|||
|
|||
void ISerializationCallbackReceiver.OnAfterDeserialize() |
|||
{ |
|||
if (m_Version != (int)Version.Current) |
|||
{ |
|||
// Add here data migration code
|
|||
if (m_Version < (int)Version.IncludeInfiniteInShape) |
|||
{ |
|||
proxyVolume.MigrateInfiniteProhjectionInShape(); |
|||
} |
|||
m_Version = (int)Version.Current; |
|||
} |
|||
} |
|||
} |
|||
} |
|
|||
namespace UnityEngine.Experimental.Rendering.HDPipeline |
|||
{ |
|||
public enum Shape |
|||
public enum InfluenceShape |
|||
{ |
|||
Box, |
|||
Sphere, |
|||
} |
|||
|
|||
public enum ProxyShape |
|||
Infinite |
|||
} |
|||
} |
撰写
预览
正在加载...
取消
保存
Reference in new issue