Update Inventory Texture RenderTexture fields
Migrate Inventory Texture .renderTexture to a newer Unity serialized format and add compatibility flags. Replaced legacy prefab refs with m_CorrespondingSourceObject/m_PrefabInstance/m_PrefabAsset, bumped serializedVersion, and added fields such as m_IsAlphaChannelOptional, m_MipCount, m_DepthStencilFormat, m_ColorFormat, m_UseDynamicScale, m_UseDynamicScaleExplicit, m_BindMS, m_EnableCompatibleFormat, m_EnableRandomWrite and m_ShadowSamplingMode. This aligns the asset with newer Unity RenderTexture schema without changing intended texture dimensions or usage.
This commit is contained in:
@@ -3,20 +3,29 @@
|
||||
--- !u!84 &8400000
|
||||
RenderTexture:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Inventory Texture
|
||||
m_ImageContentsHash:
|
||||
serializedVersion: 2
|
||||
Hash: 00000000000000000000000000000000
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 6
|
||||
m_Width: 1024
|
||||
m_Height: 1024
|
||||
m_AntiAliasing: 1
|
||||
m_DepthFormat: 2
|
||||
m_ColorFormat: 0
|
||||
m_MipCount: -1
|
||||
m_DepthStencilFormat: 92
|
||||
m_ColorFormat: 8
|
||||
m_MipMap: 0
|
||||
m_GenerateMips: 1
|
||||
m_SRGB: 0
|
||||
m_UseDynamicScale: 0
|
||||
m_UseDynamicScaleExplicit: 0
|
||||
m_BindMS: 0
|
||||
m_EnableCompatibleFormat: 1
|
||||
m_EnableRandomWrite: 0
|
||||
m_TextureSettings:
|
||||
serializedVersion: 2
|
||||
m_FilterMode: 1
|
||||
@@ -27,3 +36,4 @@ RenderTexture:
|
||||
m_WrapW: 1
|
||||
m_Dimension: 2
|
||||
m_VolumeDepth: 1
|
||||
m_ShadowSamplingMode: 2
|
||||
|
||||
Reference in New Issue
Block a user