From 221bdd6b9c44fc4c174081d878a31aeba50590c6 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Tue, 17 Sep 2024 19:11:08 +0200 Subject: [PATCH] Models are now affected by shader objects --- P3D/Entites/Entity.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P3D/Entites/Entity.vb b/P3D/Entites/Entity.vb index 6bc0e2dc1..fad47f64f 100644 --- a/P3D/Entites/Entity.vb +++ b/P3D/Entites/Entity.vb @@ -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