Sebastien Lagarde
7 年前
当前提交
2db5e09a
共有 9 个文件被更改,包括 76 次插入 和 73 次删除
-
3com.unity.render-pipelines.high-definition/CHANGELOG.md
-
15com.unity.render-pipelines.high-definition/HDRP/Editor/Material/Decal/DecalUI.cs
-
2com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.cs
-
35com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.cs.hlsl
-
19com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.hlsl
-
1com.unity.render-pipelines.high-definition/HDRP/Material/Decal/Decal.shader
-
37com.unity.render-pipelines.high-definition/HDRP/Material/Decal/DecalSystem.cs
-
19com.unity.render-pipelines.high-definition/HDRP/Material/Decal/ShaderVariablesDecal.hlsl
-
18com.unity.render-pipelines.high-definition/HDRP/ShaderVariables.hlsl
|
|||
#ifdef SHADER_VARIABLES_INCLUDE_CB |
|||
uint _EnableDecals; |
|||
float2 _DecalAtlasResolution; |
|||
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 |
撰写
预览
正在加载...
取消
保存
Reference in new issue