Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lights): Interior and exterior lighting rework and new glass textures #7947

Merged
merged 18 commits into from
Apr 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
1. [FMS] Handle approach transitions hidden inside other transition with Navigraph data - @tracernz (Mike)
1. [ND] Do not draw background when busses are not powered - @saschl (saschl#9432)
1. [MODEL] Working windshield wipers - @tracernz (Mike)
1. [LIGHTS] Redid all cockpit interior lighting and fixed exterior wing lights - @FinalLightNL (FinalLight#2113)

## 0.9.0

Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1809,13 +1809,13 @@
<ANIM_NAME>SWITCH_OVHD_INTLT_DOME</ANIM_NAME>
<WWISE_EVENT>lswitch</WWISE_EVENT>
<DIMMER_POS_0_VALUE>100</DIMMER_POS_0_VALUE>
<DIMMER_POS_1_VALUE>50</DIMMER_POS_1_VALUE>
<DIMMER_POS_1_VALUE>20</DIMMER_POS_1_VALUE>
<DIMMER_POS_2_VALUE>0</DIMMER_POS_2_VALUE>
<CODE_POS_0>1 (&gt;K:2:CABIN_LIGHTS_SET) 100 (&gt;K:LIGHT_POTENTIOMETER_7_SET)</CODE_POS_0>
<CODE_POS_1>1 (&gt;K:2:CABIN_LIGHTS_SET) 50 (&gt;K:LIGHT_POTENTIOMETER_7_SET)</CODE_POS_1>
<CODE_POS_1>1 (&gt;K:2:CABIN_LIGHTS_SET) 20 (&gt;K:LIGHT_POTENTIOMETER_7_SET)</CODE_POS_1>
<CODE_POS_2>0 (&gt;K:2:CABIN_LIGHTS_SET) 0 (&gt;K:LIGHT_POTENTIOMETER_7_SET)</CODE_POS_2>
<STATE0_TEST>(A:LIGHT CABIN:1, Bool) 1 == (A:LIGHT POTENTIOMETER:7, Percent) 100 == and</STATE0_TEST>
<STATE1_TEST>(A:LIGHT CABIN:1, Bool) 1 == (A:LIGHT POTENTIOMETER:7, Percent) 50 == and</STATE1_TEST>
<STATE1_TEST>(A:LIGHT CABIN:1, Bool) 1 == (A:LIGHT POTENTIOMETER:7, Percent) 20 == and</STATE1_TEST>
<STATE2_TEST>(A:LIGHT CABIN:1, Bool) 0 == (A:LIGHT POTENTIOMETER:7, Percent) 0 == and </STATE2_TEST>
</UseTemplate>
</Component>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ Face=1, 1, 1
[ParticleAttributes.0]
Blend Mode=2
Bounce=0.00
Color Start=255, 179, 117, 10
Color End=248, 156, 106, 10
Color Start=255, 209, 163, 1
Color End=255, 209, 163, 1
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
Expand All @@ -68,10 +68,10 @@ Extrude Heading Max=0.00
[LightAttributes.0]
Type=spot
Size=0.02
Range=2.0
Intensity=0.8
Softness=0.1
SpotInner=45
SpotOuter=81
Range=0.4
Intensity=5
Softness=0
SpotInner=0
SpotOuter=107
Volumetric=1
ScatDir=1
ScatDir=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[Library Effect]
Lifetime=5
Version=2.00
Radius=-1

[Properties]
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=1.00, 1.00
Delay=0.00, 0.00
Bounce=0.00
Light=1
No Interpolate=1
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Rotation=0.00, 0.00
Y Rotation=0.00, 0.00
Z Rotation=0.00, 0.00
X Offset=0.0, 0.0
Y Offset=0.0, 0.0
Z Offset=0.0, 0.0

[Particle.0]
Lifetime=0.00, 0.00
Type=19
X Scale=0.75, 0.75
Y Scale=0.75, 0.75
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.50, 0.50
Fade Out=0.50, 0.50
Rotation=0.00, 0.00
Static=1
Face=1, 1, 1

[ParticleAttributes.0]
Blend Mode=2
Bounce=0.00
Color Start=255, 200, 150, 10
Color End=255, 200, 150, 10
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=1.0, 1.0
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00

[LightAttributes.0]
Type=spot
Size=0.02
Range=0.8
Intensity=5
Softness=0
SpotInner=0
SpotOuter=83
Volumetric=1
ScatDir=1
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ Face=1, 1, 1
[ParticleAttributes.0]
Blend Mode=2
Bounce=0.00
Color Start=255, 179, 117, 10
Color End=248, 156, 106, 10
Color Start=255, 196, 137, 1
Color End=255, 196, 137, 1
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
Expand All @@ -67,11 +67,11 @@ Extrude Heading Max=0.00

[LightAttributes.0]
Type=spot
Size=0.1
Size=0
Range=3.0
Intensity=1
Intensity=15
Softness=0.0
SpotInner=18
SpotOuter=81
Volumetric=1
ScatDir=1
SpotInner=0
SpotOuter=101
Volumetric=0
ScatDir=1
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ Face=1, 1, 1
[ParticleAttributes.0]
Blend Mode=2
Bounce=0.00
Color Start=254, 254, 254, 10
Color End=254, 254, 254, 10
Color Start=255, 196, 137, 1
Color End=255, 196, 137, 1
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
Expand All @@ -67,11 +67,11 @@ Extrude Heading Max=0.00

[LightAttributes.0]
Type=spot
Size=0.050
Range=0.7
Intensity=0.200
Size=0
Range=4.0
Intensity=2
Softness=0.0
SpotInner=28
SpotOuter=57
Volumetric=5
ScatDir=1
SpotInner=0
SpotOuter=62
Volumetric=0
ScatDir=0
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[Library Effect]
Lifetime=5
Version=2.00
Radius=-1

[Properties]
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=1.00, 1.00
Delay=0.00, 0.00
Bounce=0.00
Light=1
No Interpolate=1
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Rotation=0.00, 0.00
Y Rotation=0.00, 0.00
Z Rotation=0.00, 0.00
X Offset=0.0, 0.0
Y Offset=0.0, 0.0
Z Offset=0.0, 0.0

[Particle.0]
Lifetime=0.00, 0.00
Type=19
X Scale=0.75, 0.75
Y Scale=0.75, 0.75
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.50, 0.50
Fade Out=0.50, 0.50
Rotation=0.00, 0.00
Static=1
Face=1, 1, 1

[ParticleAttributes.0]
Blend Mode=2
Bounce=0.00
Color Start=255, 196, 137, 1
Color End=255, 196, 137, 1
Jitter Distance=0.00
Jitter Time=0.00
uv1=0.00, 0.00
uv2=1.0, 1.0
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Extrude Length=0.00
Extrude Pitch Max=0.00
Extrude Heading Max=0.00

[LightAttributes.0]
Type=spot
Size=0
Range=1.8
Intensity=10
Softness=0.0
SpotInner=0
SpotOuter=62
Volumetric=0
ScatDir=0
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[Library Effect]
Lifetime=5
Version=2.00
Radius=-1

[Properties]
Spot=1
Tower=1
Map=1

[Emitter.0]
Lifetime=1.00, 1.00
Delay=0.00, 0.00
Bounce=0.00
Light=1
No Interpolate=1
Rate=1.00, 1.00
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Rotation=0.00, 0.00
Y Rotation=0.00, 0.00
Z Rotation=0.00, 0.00
X Offset=0.0, 0.0
Y Offset=0.0, 0.0
Z Offset=0.0, 0.0

[Particle.0]
Lifetime=0.00, 0.00
Type=19
X Scale=0.75, 0.75
Y Scale=0.75, 0.75
Z Scale=0.00, 0.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.50, 0.50
Fade Out=0.50, 0.50
Rotation=0.00, 0.00
Static=1
Face=1, 1, 1

[ParticleAttributes.0]
Blend Mode=2
Bounce=0.00
Color Start=50, 23, 0, 0
Color End=50, 23, 0, 0
Jitter Distance=0.00
Jitter Time=0.00
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00

[LightAttributes.0]
Type=spot
Size=0.001
Range=0.050
Intensity=20
Softness=0
SpotInner=0
SpotOuter=69
Volumetric=0
ScatDir=0.0
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ Face=1, 1, 1
[ParticleAttributes.0]
Blend Mode=2
Bounce=0.00
Color Start=255, 80, 0, 0
Color End=255, 80, 0, 0
Color Start=100, 70, 0, 0
Color End=100, 70, 0, 0
Jitter Distance=0.00
Jitter Time=0.00
X Scale Goal=0.00
Expand All @@ -62,11 +62,11 @@ Z Scale Goal=0.00

[LightAttributes.0]
Type=spot
Size=0.002
Size=0.001
Range=0.1
Intensity=1
Softness=1
SpotInner=89.9
SpotOuter=90.0
Intensity=0.05
Softness=0
SpotInner=0
SpotOuter=55
Volumetric=0
ScatDir=0.0
Loading