forked from sin365/AxibugEmuOnline
颜色空间调整为线性空间
This commit is contained in:
parent
9d73293747
commit
d44dafc227
@ -2,20 +2,24 @@
|
|||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!21 &2100000
|
--- !u!21 &2100000
|
||||||
Material:
|
Material:
|
||||||
serializedVersion: 6
|
serializedVersion: 8
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: XMBBackGround
|
m_Name: XMBBackGround
|
||||||
m_Shader: {fileID: 4800000, guid: e14054c41729e9b4cb671e3dde0e7df0, type: 3}
|
m_Shader: {fileID: 4800000, guid: e14054c41729e9b4cb671e3dde0e7df0, type: 3}
|
||||||
m_ShaderKeywords:
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 0
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
disabledShaderPasses: []
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
m_SavedProperties:
|
m_SavedProperties:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TexEnvs:
|
m_TexEnvs:
|
||||||
@ -23,10 +27,12 @@ Material:
|
|||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
- _ColorMask: 15
|
- _ColorMask: 15
|
||||||
- _Frequency1: 2
|
- _Frequency1: 2
|
||||||
- _Frequency2: 2.1
|
- _Frequency2: 2.1
|
||||||
|
- _Gamma: 0.6
|
||||||
- _MaxHeight1: 0.5
|
- _MaxHeight1: 0.5
|
||||||
- _MaxHeight2: 0.54
|
- _MaxHeight2: 0.54
|
||||||
- _MidHeight1: 0.4
|
- _MidHeight1: 0.4
|
||||||
@ -51,3 +57,4 @@ Material:
|
|||||||
- _Color1: {r: 0, g: 0.4, b: 1, a: 1}
|
- _Color1: {r: 0, g: 0.4, b: 1, a: 1}
|
||||||
- _Color2: {r: 0, g: 0.69803923, b: 1, a: 1}
|
- _Color2: {r: 0, g: 0.69803923, b: 1, a: 1}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
|
@ -2,20 +2,24 @@
|
|||||||
%TAG !u! tag:unity3d.com,2011:
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
--- !u!21 &2100000
|
--- !u!21 &2100000
|
||||||
Material:
|
Material:
|
||||||
serializedVersion: 6
|
serializedVersion: 8
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: XMBBackGroundPreview
|
m_Name: XMBBackGroundPreview
|
||||||
m_Shader: {fileID: 4800000, guid: 424d88aff12857f4aab1911fdb6e02e9, type: 3}
|
m_Shader: {fileID: 4800000, guid: e14054c41729e9b4cb671e3dde0e7df0, type: 3}
|
||||||
m_ShaderKeywords:
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
m_EnableInstancingVariants: 0
|
m_EnableInstancingVariants: 0
|
||||||
m_DoubleSidedGI: 0
|
m_DoubleSidedGI: 0
|
||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap: {}
|
stringTagMap: {}
|
||||||
disabledShaderPasses: []
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
m_SavedProperties:
|
m_SavedProperties:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TexEnvs:
|
m_TexEnvs:
|
||||||
@ -23,10 +27,12 @@ Material:
|
|||||||
m_Texture: {fileID: 0}
|
m_Texture: {fileID: 0}
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
- _ColorMask: 15
|
- _ColorMask: 15
|
||||||
- _Frequency1: 2
|
- _Frequency1: 2
|
||||||
- _Frequency2: 2.1
|
- _Frequency2: 2.1
|
||||||
|
- _Gamma: 0.6
|
||||||
- _MaxHeight1: 0.5
|
- _MaxHeight1: 0.5
|
||||||
- _MaxHeight2: 0.54
|
- _MaxHeight2: 0.54
|
||||||
- _MidHeight1: 0.4
|
- _MidHeight1: 0.4
|
||||||
@ -51,3 +57,4 @@ Material:
|
|||||||
- _Color1: {r: 0, g: 0.4, b: 1, a: 1}
|
- _Color1: {r: 0, g: 0.4, b: 1, a: 1}
|
||||||
- _Color2: {r: 0, g: 0.69803923, b: 1, a: 1}
|
- _Color2: {r: 0, g: 0.69803923, b: 1, a: 1}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
_Power2("Power",Float)=50.0
|
_Power2("Power",Float)=50.0
|
||||||
_Frequency2("Frequency",Float)=2.1
|
_Frequency2("Frequency",Float)=2.1
|
||||||
_Speed2("Speed",Float)=0.3
|
_Speed2("Speed",Float)=0.3
|
||||||
|
|
||||||
|
_Gamma("GAMMA",float) = 2.2
|
||||||
}
|
}
|
||||||
|
|
||||||
SubShader
|
SubShader
|
||||||
@ -152,6 +154,8 @@
|
|||||||
float _Frequency2;
|
float _Frequency2;
|
||||||
float _Speed2;
|
float _Speed2;
|
||||||
|
|
||||||
|
float _Gamma;
|
||||||
|
|
||||||
fixed4 frag(v2f IN) : SV_Target
|
fixed4 frag(v2f IN) : SV_Target
|
||||||
{
|
{
|
||||||
float2 uv= IN.texcoord;
|
float2 uv= IN.texcoord;
|
||||||
@ -196,6 +200,8 @@
|
|||||||
clip (fragColor.a - 0.001);
|
clip (fragColor.a - 0.001);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
fragColor = pow(fragColor,1/_Gamma);
|
||||||
|
|
||||||
return fragColor;
|
return fragColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ PlayerSettings:
|
|||||||
defaultScreenWidthWeb: 960
|
defaultScreenWidthWeb: 960
|
||||||
defaultScreenHeightWeb: 600
|
defaultScreenHeightWeb: 600
|
||||||
m_StereoRenderingPath: 0
|
m_StereoRenderingPath: 0
|
||||||
m_ActiveColorSpace: 0
|
m_ActiveColorSpace: 1
|
||||||
unsupportedMSAAFallback: 0
|
unsupportedMSAAFallback: 0
|
||||||
m_SpriteBatchMaxVertexCount: 65535
|
m_SpriteBatchMaxVertexCount: 65535
|
||||||
m_SpriteBatchVertexThreshold: 300
|
m_SpriteBatchVertexThreshold: 300
|
||||||
|
Loading…
Reference in New Issue
Block a user