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

improved lighting in boss level

parent afcd7d79
......@@ -74,7 +74,7 @@ Material:
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _PulsatingSpeed: 2
- _PulsatingSpeed: 0.3
- _PulsatingStrength: 30
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
......
......@@ -4127,6 +4127,40 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!84 &80847291
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: 1324
m_Height: 534
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!1 &81641249
GameObject:
m_ObjectHideFlags: 0
......@@ -8076,7 +8110,7 @@ PrefabInstance:
type: 3}
propertyPath: m_TargetTexture
value:
objectReference: {fileID: 1795575188}
objectReference: {fileID: 80847291}
- target: {fileID: 8811539149977030266, guid: 388a7af523fdebaafad4a5d1ae1a896b,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -325187,7 +325221,7 @@ Transform:
m_Children:
- {fileID: 1044523832}
m_Father: {fileID: 578984556}
m_RootOrder: 5
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &332993243
GameObject:
......@@ -326746,6 +326780,11 @@ PrefabInstance:
propertyPath: sporeCloud
value:
objectReference: {fileID: 822542248}
- target: {fileID: 329613192511979811, guid: f729691d7d926604eafbc77cee0d4abb,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 29e4a79a79b470fd5b3021938034169a, type: 2}
- target: {fileID: 7948462905937867563, guid: f729691d7d926604eafbc77cee0d4abb,
type: 3}
propertyPath: sceneManager
......@@ -327978,7 +328017,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 578984556}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &379541031
Light:
......@@ -342209,6 +342248,7 @@ Transform:
m_Children:
- {fileID: 313389023}
- {fileID: 4614416939316975657}
- {fileID: 991661204}
- {fileID: 379541030}
- {fileID: 1067052928}
- {fileID: 1033755150}
......@@ -364453,6 +364493,97 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fdc2f5b598345564585ad408b5f60c10, type: 3}
--- !u!1 &991661202
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 991661204}
- component: {fileID: 991661203}
m_Layer: 0
m_Name: "Purple\x13 Light"
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!108 &991661203
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 991661202}
m_Enabled: 1
serializedVersion: 9
m_Type: 2
m_Color: {r: 0.92735004, g: 0, b: 1, a: 1}
m_Intensity: 1.64
m_Range: 13.61
m_SpotAngle: 30
m_InnerSpotAngle: 21.802082
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!4 &991661204
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 991661202}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 1.3600006, y: -6.5, z: -2.1210938}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 578984556}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &992175066
GameObject:
m_ObjectHideFlags: 0
......@@ -366440,7 +366571,7 @@ PrefabInstance:
- target: {fileID: 5524515208459548046, guid: 5f19e99694f67a245b4244a6b9f38023,
type: 3}
propertyPath: m_RootOrder
value: 4
value: 5
objectReference: {fileID: 0}
- target: {fileID: 5524515208459548046, guid: 5f19e99694f67a245b4244a6b9f38023,
type: 3}
......@@ -367874,7 +368005,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 578984556}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &1067052929
Light:
......@@ -383082,7 +383213,7 @@ Transform:
- {fileID: 1529119675}
- {fileID: 1672078652}
m_Father: {fileID: 578984556}
m_RootOrder: 6
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1369347029
GameObject:
......@@ -448033,12 +448164,12 @@ PrefabInstance:
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
propertyPath: m_LocalPosition.x
value: 40.6
value: 45.55
objectReference: {fileID: 0}
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
propertyPath: m_LocalPosition.y
value: 36.9
value: 32.86
objectReference: {fileID: 0}
- target: {fileID: 6098262288883245936, guid: a1e0107a2375e1140a669c1da0647f9a,
type: 3}
......@@ -454991,12 +455122,12 @@ PrefabInstance:
- target: {fileID: 4391194054061318390, guid: 705ec54aa607bc34a84ab1b394757040,
type: 3}
propertyPath: m_LocalPosition.x
value: 11.5
value: 11.59
objectReference: {fileID: 0}
- target: {fileID: 4391194054061318390, guid: 705ec54aa607bc34a84ab1b394757040,
type: 3}
propertyPath: m_LocalPosition.y
value: 35.25
value: 34.78
objectReference: {fileID: 0}
- target: {fileID: 4391194054061318390, guid: 705ec54aa607bc34a84ab1b394757040,
type: 3}
......@@ -455777,40 +455908,6 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!84 &1795575188
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: 1324
m_Height: 534
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!1 &1796013854
GameObject:
m_ObjectHideFlags: 0
......@@ -473900,6 +473997,11 @@ PrefabInstance:
propertyPath: m_Name
value: PulsatingLight
objectReference: {fileID: 0}
- target: {fileID: 4614416940103635231, guid: daa075972b0adc948b66475bdcd98aa3,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4614416940103635218, guid: daa075972b0adc948b66475bdcd98aa3,
type: 3}
propertyPath: m_LocalPosition.x
......@@ -473965,6 +474067,21 @@ PrefabInstance:
propertyPath: m_Intensity
value: 0.75
objectReference: {fileID: 0}
- target: {fileID: 4614416940103635217, guid: daa075972b0adc948b66475bdcd98aa3,
type: 3}
propertyPath: m_Color.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4614416940103635217, guid: daa075972b0adc948b66475bdcd98aa3,
type: 3}
propertyPath: m_Color.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4614416940103635217, guid: daa075972b0adc948b66475bdcd98aa3,
type: 3}
propertyPath: m_Color.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4614416940103635216, guid: daa075972b0adc948b66475bdcd98aa3,
type: 3}
propertyPath: maxIntensity
......@@ -473975,6 +474092,11 @@ PrefabInstance:
propertyPath: pulsatingSpeed
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 4614416940103635216, guid: daa075972b0adc948b66475bdcd98aa3,
type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: daa075972b0adc948b66475bdcd98aa3, type: 3}
--- !u!4 &4614416939316975657 stripped
......@@ -88,7 +88,7 @@ Shader "Custom/PlantSpriteShader"
void p_SpriteSurf(Input IN, inout SurfaceOutput o)
{
float4 inColor = SampleSpriteTexture(IN.uv_MainTex);// * IN.color;
float4 inColor = SampleSpriteTexture(IN.uv_MainTex) * IN.color;
o.Albedo = inColor.rgb * inColor.a;
float corruption = tex2D(_CorruptionMap, IN.customScreenPos) * 3;
float colorstrength = dot(_ColorStrengthFactors, o.Albedo);
......
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