Adjust the lighting on the box demo
This commit is contained in:
@@ -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