You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
404 B
11 lines
404 B
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Material/Decal/Decal.cs.hlsl"
|
|
|
|
StructuredBuffer<DecalData> _DecalDatas;
|
|
|
|
TEXTURE2D(_DecalAtlas2D);
|
|
SAMPLER(_trilinear_clamp_sampler_DecalAtlas2D);
|
|
|
|
UNITY_INSTANCING_BUFFER_START(Decal)
|
|
UNITY_DEFINE_INSTANCED_PROP(float4x4, _NormalToWorld)
|
|
UNITY_DEFINE_INSTANCED_PROP(uint, _DecalLayerMaskFromDecal)
|
|
UNITY_INSTANCING_BUFFER_END(Decal)
|