Adjust the lighting on the box demo

This commit is contained in:
Dane Johnson 2021-03-05 13:45:29 -06:00
parent 03e059fb7e
commit 423fe5787e

View File

@ -7,7 +7,7 @@ function init()
local material
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:SetAmbient(0.2)
light:SetDiffuse(1.0)