|
|
@@ -2489,6 +2489,15 @@ trf:setRotation(rot)
|
|
|
trf:setScale(0.0170465)
|
|
|
node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
|
|
|
+node = scene:newModelNode("skysky-materialnone261", "assets/skysky-material.ankimdl")
|
|
|
+trf = Transform.new()
|
|
|
+trf:setOrigin(Vec4.new(0, 10.4512, 0, 0))
|
|
|
+rot = Mat3x4.new()
|
|
|
+rot:setAll(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0)
|
|
|
+trf:setRotation(rot)
|
|
|
+trf:setScale(42.4383)
|
|
|
+node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
|
|
|
+
|
|
|
node = scene:newDirectionalLightNode("Lamp")
|
|
|
lcomp = node:getSceneNodeBase():getLightComponent()
|
|
|
lcomp:setDiffuseColor(Vec4.new(15, 15, 15, 1))
|