Files
chameleon/Assets/Resources/PaintVariantKeepAliveTex.asset
T
adminandClaude Opus 4.8 abfb183c77 Keep _EMISSION/_METALLICSPECGLOSSMAP/_OCCLUSIONMAP shader variants alive in builds
Add a Resources material that sets all three PBR shader_feature keywords so
core build stripping retains the URP/Lit variants the runtime mesh painter
enables on the fly. Fixes metallic/smoothness/occlusion rendering as constant
in player builds.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 13:15:34 +02:00

49 lines
1.0 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!28 &2800000
Texture2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PaintVariantKeepAliveTex
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_IsAlphaChannelOptional: 0
serializedVersion: 4
m_Width: 2
m_Height: 2
m_CompleteImageSize: 16
m_MipsStripped: 0
m_TextureFormat: 4
m_MipCount: 1
m_IsReadable: 1
m_IsPreProcessed: 0
m_IgnoreMipmapLimit: 1
m_MipmapLimitGroupName:
m_StreamingMipmaps: 0
m_StreamingMipmapsPriority: 0
m_VTOnly: 0
m_AlphaIsTransparency: 0
m_ImageCount: 1
m_TextureDimension: 2
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 0
m_WrapV: 0
m_WrapW: 0
m_LightmapFormat: 0
m_ColorSpace: 1
m_PlatformBlob:
image data: 16
_typelessdata: 000000ff000000ff000000ff000000ff
m_StreamData:
serializedVersion: 2
offset: 0
size: 0
path: