|
|
@@ -232,18 +232,17 @@ trf:setScale(1)
|
|
|
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
node = scene:newStaticCollisionNode("wallwalls_001-materialnone20_cl", "assets/wall.ankicl", trf)
|
|
|
|
|
|
-node = scene:newPointLightNode("Lamp")
|
|
|
+node = scene:newDirectionalLightNode("Lamp")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
lcomp:setDiffuseColor(Vec4.new(50, 50, 50, 1))
|
|
|
-lcomp:setRadius(300)
|
|
|
trf = Transform.new()
|
|
|
trf:setOrigin(Vec4.new(4.07624, 74.4447, -1.00545, 0))
|
|
|
rot = Mat3x4.new()
|
|
|
-rot:setAll(-0.290865, -0.771075, 0.566429, 0, -0.0551891, 0.604562, 0.794644, 0, -0.955171, 0.199873, -0.2184, 0)
|
|
|
+rot:setAll(0.649201, -0.658201, -0.381195, 0, 0.506372, 3.995e-05, 0.862315, 0, -0.567562, -0.752842, 0.33332, 0)
|
|
|
trf:setRotation(rot)
|
|
|
trf:setScale(1)
|
|
|
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
-lcomp:setShadowEnabled(0)
|
|
|
+lcomp:setShadowEnabled(1)
|
|
|
|
|
|
node = scene:newPointLightNode("Lamp_001")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|