mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
Models are now affected by shader objects
This commit is contained in:
parent
2b1c2a9145
commit
221bdd6b9c
@ -662,7 +662,7 @@
|
||||
With CType(part.Effect, BasicEffect)
|
||||
Lighting.UpdateLighting(CType(part.Effect, BasicEffect), True)
|
||||
.Alpha = Me.Opacity
|
||||
.DiffuseColor = Screen.Effect.DiffuseColor
|
||||
.DiffuseColor = Screen.Effect.DiffuseColor * Me.Shader * Me.Color
|
||||
|
||||
If Not Screen.Level.World Is Nothing Then
|
||||
If Screen.Level.World.EnvironmentType = P3D.World.EnvironmentTypes.Outside Then
|
||||
|
Loading…
x
Reference in New Issue
Block a user