Commit 14f487bb authored by Tommé Nöll's avatar Tommé Nöll
Browse files

messing with post-processing stuff

parent 3aca9273
...@@ -2947,6 +2947,21 @@ PrefabInstance: ...@@ -2947,6 +2947,21 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 0} m_TransformParent: {fileID: 0}
m_Modifications: m_Modifications:
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
propertyPath: m_LocalPosition.y
value: 2.92
objectReference: {fileID: 0}
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
propertyPath: m_LocalPosition.x
value: -6.292
objectReference: {fileID: 0}
- target: {fileID: 8849362558915370004, guid: a1e0107a2375e1140a669c1da0647f9a, - target: {fileID: 8849362558915370004, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
...@@ -3007,21 +3022,6 @@ PrefabInstance: ...@@ -3007,21 +3022,6 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
propertyPath: m_LocalPosition.y
value: 2.92
objectReference: {fileID: 0}
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
propertyPath: m_LocalPosition.x
value: -6.292
objectReference: {fileID: 0}
- target: {fileID: 2336311380627323382, guid: a1e0107a2375e1140a669c1da0647f9a, - target: {fileID: 2336311380627323382, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3} type: 3}
propertyPath: m_Enabled propertyPath: m_Enabled
...@@ -3971,6 +3971,40 @@ Transform: ...@@ -3971,6 +3971,40 @@ Transform:
type: 3} type: 3}
m_PrefabInstance: {fileID: 1472572233} m_PrefabInstance: {fileID: 1472572233}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!84 &1508971501
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 3
m_Width: 1362
m_Height: 670
m_AntiAliasing: 1
m_DepthFormat: 0
m_ColorFormat: 21
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 0
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
--- !u!1001 &1526557326 --- !u!1001 &1526557326
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -5254,40 +5288,6 @@ RenderTexture: ...@@ -5254,40 +5288,6 @@ RenderTexture:
m_WrapW: 1 m_WrapW: 1
m_Dimension: 2 m_Dimension: 2
m_VolumeDepth: 1 m_VolumeDepth: 1
--- !u!84 &1943533361
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 3
m_Width: 1362
m_Height: 670
m_AntiAliasing: 1
m_DepthFormat: 0
m_ColorFormat: 21
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 0
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
--- !u!1001 &1974111396 --- !u!1001 &1974111396
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -5822,7 +5822,7 @@ PrefabInstance: ...@@ -5822,7 +5822,7 @@ PrefabInstance:
- target: {fileID: 4291257553622459129, guid: 991b856519736f02eb11713b4d01251d, - target: {fileID: 4291257553622459129, guid: 991b856519736f02eb11713b4d01251d,
type: 3} type: 3}
propertyPath: m_IsActive propertyPath: m_IsActive
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4291257553622459127, guid: 991b856519736f02eb11713b4d01251d, - target: {fileID: 4291257553622459127, guid: 991b856519736f02eb11713b4d01251d,
type: 3} type: 3}
...@@ -6046,7 +6046,7 @@ PrefabInstance: ...@@ -6046,7 +6046,7 @@ PrefabInstance:
type: 3} type: 3}
propertyPath: m_TargetTexture propertyPath: m_TargetTexture
value: value:
objectReference: {fileID: 1943533361} objectReference: {fileID: 1508971501}
- target: {fileID: 8811539148413200178, guid: 388a7af523fdebaafad4a5d1ae1a896b, - target: {fileID: 8811539148413200178, guid: 388a7af523fdebaafad4a5d1ae1a896b,
type: 3} type: 3}
propertyPath: orthographic size propertyPath: orthographic size
...@@ -6135,7 +6135,7 @@ PrefabInstance: ...@@ -6135,7 +6135,7 @@ PrefabInstance:
- target: {fileID: 5104620888276671122, guid: 388a7af523fdebaafad4a5d1ae1a896b, - target: {fileID: 5104620888276671122, guid: 388a7af523fdebaafad4a5d1ae1a896b,
type: 3} type: 3}
propertyPath: m_Enabled propertyPath: m_Enabled
value: 0 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8811539149977030261, guid: 388a7af523fdebaafad4a5d1ae1a896b, - target: {fileID: 8811539149977030261, guid: 388a7af523fdebaafad4a5d1ae1a896b,
type: 3} type: 3}
......
...@@ -33,7 +33,7 @@ MonoBehaviour: ...@@ -33,7 +33,7 @@ MonoBehaviour:
value: 1 value: 1
intensity: intensity:
overrideState: 1 overrideState: 1
value: 60.9 value: 80.4
intensityX: intensityX:
overrideState: 0 overrideState: 0
value: 1 value: 1
......
...@@ -18,7 +18,8 @@ public class CorruptionCamera : MonoBehaviour ...@@ -18,7 +18,8 @@ public class CorruptionCamera : MonoBehaviour
corruptionMap.Init(); corruptionMap.Init();
camera = GetComponent<Camera>(); camera = GetComponent<Camera>();
camera.targetTexture = corruptionMap.mapTexture; camera.targetTexture = corruptionMap.mapTexture;
camera.backgroundColor = new Color(corruptionMap.globalCorruption, 0, 0, 1); camera.backgroundColor = new Color(corruptionMap.globalCorruption, 0, 0, 1);
camera.transform.position = mainCamera.transform.position;
} }
// Update is called once per frame // Update is called once per frame
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment