Skip to content

Commit a20f8a4

Browse files
committed
Update SunDirection in atmosphere system materials
Changed the _SunDirection vector in AtmosphereMaterial, CloudMaterial, and FogMaterial to improve lighting consistency across the planet atmosphere system.
1 parent 18cc1bb commit a20f8a4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Red Strike/Assets/PlanetAtmosphereSystem/AtmosphereMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Material:
4747
- _GunesYonu: {r: -0.91, g: 0.4, b: 3.24, a: 0}
4848
- _RenkUzak: {r: 0, g: 0.10166844, b: 2.152374, a: 1}
4949
- _RenkYakin: {r: 0, g: 5.670685, b: 8, a: 1}
50-
- _SunDirection: {r: -0.7086897, g: 0.25617397, b: -0.65736884, a: 0}
50+
- _SunDirection: {r: -0.43632787, g: 0.5071199, b: -0.7432681, a: 0}
5151
m_BuildTextureStacks: []
5252
m_AllowLocking: 1
5353
--- !u!114 &1522106816477559216

Red Strike/Assets/PlanetAtmosphereSystem/CloudMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Material:
4242
- _QueueOffset: 0
4343
m_Colors:
4444
- _GunesYonu: {r: -1, g: 0, b: 0, a: 0}
45-
- _SunDirection: {r: -0.7086897, g: 0.25617397, b: -0.65736884, a: 0}
45+
- _SunDirection: {r: -0.43632787, g: 0.5071199, b: -0.7432681, a: 0}
4646
m_BuildTextureStacks: []
4747
m_AllowLocking: 1
4848
--- !u!114 &8499732345945835446

Red Strike/Assets/PlanetAtmosphereSystem/FogMaterial.mat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ Material:
5454
- _QueueControl: 0
5555
- _QueueOffset: 0
5656
m_Colors:
57-
- _SunDirection: {r: -0.7086897, g: 0.25617397, b: -0.65736884, a: 0}
57+
- _SunDirection: {r: -0.43632787, g: 0.5071199, b: -0.7432681, a: 0}
5858
m_BuildTextureStacks: []
5959
m_AllowLocking: 1

0 commit comments

Comments
 (0)