Adjust the lighting on the box demo
This commit is contained in:
parent
03e059fb7e
commit
423fe5787e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user