2
0
clementlandrin 4 жил өмнө
parent
commit
0fc27ad04f

+ 1 - 2
h3d/scene/pbr/LightSystem.hx

@@ -36,8 +36,7 @@ class LightSystem extends h3d.scene.LightSystem {
 
 	override function initLights( ctx : h3d.scene.RenderContext ) @:privateAccess {
 		super.initLights(ctx);
-		if (forwardMode)
-			lightBuffer.sync(ctx);
+		lightBuffer.sync(ctx);
 	}
 
 	public function drawShadows( light : Light, passes : h3d.pass.PassList ) {