Adjust the lighting on the box demo
This commit is contained in:
1 parent
721b9416b4
commit
19e5e1b959
1 file changed
+1
-1
@@ -7,7 +7,7 @@ function init()
|
|||||||
local material
|
local material
|
||||||
|
|
||||||
local light = couch.DirectionalLight()
|
local light = couch.DirectionalLight()
|
||||||
light:SetDirection(couch.Vector3(1.0, 1.0, 1.0))
|
light:SetDirection(couch.Vector3(1.0, -2.0, -1.0))
|
||||||
light:SetColor(Vector3(1.0, 1.0, 1.0))
|
light:SetColor(Vector3(1.0, 1.0, 1.0))
|
||||||
light:SetAmbient(0.2)
|
light:SetAmbient(0.2)
|
||||||
light:SetDiffuse(1.0)
|
light:SetDiffuse(1.0)
|
||||||
|
|||||||
Reference in new issue
Block a user