浏览代码
Merge pull request #1747 from Unity-Technologies/Decal-compilation
Merge pull request #1747 from Unity-Technologies/Decal-compilation
Decal shader stripping and upgrade script + fix/main
GitHub
6 年前
当前提交
b57e1824
共有 33 个文件被更改,包括 261 次插入 和 344 次删除
-
2com.unity.render-pipelines.high-definition/CHANGELOG.md
-
16com.unity.render-pipelines.high-definition/HDRP/Editor/Material/BaseShaderPreprocessor.cs
-
8com.unity.render-pipelines.high-definition/HDRP/Editor/Material/Decal/DecalUI.cs
-
12com.unity.render-pipelines.high-definition/HDRP/Editor/Material/Lit/BaseLitUI.cs
-
2com.unity.render-pipelines.high-definition/HDRP/Editor/RenderPipeline/Settings/FrameSettingsUI.cs
-
2com.unity.render-pipelines.high-definition/HDRP/Editor/RenderPipeline/Settings/RenderPipelineSettingsUI.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Editor/RenderPipeline/Settings/SerializedFrameSettings.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Editor/RenderPipeline/Settings/SerializedRenderPipelineSettings.cs
-
4com.unity.render-pipelines.high-definition/HDRP/Editor/Upgraders/HDRPVersion.cs
-
278com.unity.render-pipelines.high-definition/HDRP/Editor/Upgraders/UpgradeMenuItem.cs
-
7com.unity.render-pipelines.high-definition/HDRP/HDRenderPipelineAsset.asset
-
8com.unity.render-pipelines.high-definition/HDRP/Material/Decal/DBufferManager.cs
-
2com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.cs
-
67com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.cs.hlsl
-
21com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.hlsl
-
5com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.shader
-
13com.unity.render-pipelines.high-definition/HDRP/Material/Decal/DecalUtilities.hlsl
-
21com.unity.render-pipelines.high-definition/HDRP/Material/Decal/ShaderVariablesDecal.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Material/LayeredLit/LayeredLit.shader
-
2com.unity.render-pipelines.high-definition/HDRP/Material/LayeredLit/LayeredLitData.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Material/LayeredLit/LayeredLitTessellation.shader
-
8com.unity.render-pipelines.high-definition/HDRP/Material/Lit/Lit.shader
-
2com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitData.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Material/Lit/LitTessellation.shader
-
3com.unity.render-pipelines.high-definition/HDRP/Material/Material.hlsl
-
4com.unity.render-pipelines.high-definition/HDRP/Material/StackLit/StackLit.shader
-
2com.unity.render-pipelines.high-definition/HDRP/Material/Unlit/Unlit.shader
-
37com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/HDRenderPipeline.cs
-
2com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/HDStringConstants.cs
-
16com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/Settings/FrameSettings.cs
-
3com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/Settings/RenderPipelineSettings.cs
-
18com.unity.render-pipelines.high-definition/HDRP/ShaderVariables.hlsl
-
8com.unity.render-pipelines.high-definition/HDRP/Sky/AtmosphericScattering.meta
|
|||
#ifdef SHADER_VARIABLES_INCLUDE_CB |
|||
uint _EnableDBuffer; |
|||
uint _EnableDecals; |
|||
uint _DecalCount; |
|||
|
|||
#include "HDRP/Material/Decal//Decal.cs.hlsl" |
|||
|
|||
StructuredBuffer<DecalData> _DecalDatas; |
|||
|
|||
TEXTURE2D_ARRAY(_DecalAtlas); |
|||
SAMPLER(sampler_DecalAtlas); |
|||
|
|||
TEXTURE2D(_DecalAtlas2D); |
|||
SAMPLER(_trilinear_clamp_sampler_DecalAtlas2D); |
|||
|
|||
RW_TEXTURE2D(float, _DecalHTile); // DXGI_FORMAT_R8_UINT is not supported by Unity |
|||
TEXTURE2D(_DecalHTileTexture); |
|||
|
|||
UNITY_INSTANCING_BUFFER_START(Decal) |
|||
UNITY_DEFINE_INSTANCED_PROP(float4x4, _NormalToWorld) |
|||
UNITY_INSTANCING_BUFFER_END(matrix) |
|||
|
|||
#endif |
|
|||
fileFormatVersion: 2 |
|||
guid: d522828bc0314e14cb6faa4291bb64da |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue