Added dots instancing support;

Fixed the problem that shader can compile when using emission color map;
This commit is contained in:
2025-09-01 01:15:57 +09:00
parent e35650f052
commit bcba75a7d6
6 changed files with 18 additions and 8 deletions

View File

@@ -33,6 +33,9 @@ TEXTURE2D(_SSSLutMap);
TEXTURE2D(_HairBlendingMap);
SAMPLER(sampler_HairBlendingMap);
TEXTURE2D(_EmissiveColorMap);
SAMPLER(sampler_EmissiveColorMap);
// Stocking
TEXTURE2D(_StockingSparkingMap);
SAMPLER(sampler_StockingSparkingMap);

View File

@@ -68,6 +68,8 @@ float _EnergyConservingSpecularColor;
float3 _EmissiveColor;
half _AlbedoAffectEmissive;
half _EmissiveExposureWeight;
float4 _EmissiveColorMap_ST;
half _TexWorldScaleEmissive;
float _ObjectSpaceUVMappingEmissive;