You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 line
417 B

  1. s0 = SceneSetup.New("DefaultSetup")
  2. s0:AddLight("Point")
  3. s0:Position(0, 0, 15)
  4. s0:Color("#bbb")
  5. s0:AddLight("Directional")
  6. s0:Position(0, 0, 15)
  7. s0:Color("#bbb")
  8. --addlight 1 position (3 10 0) color #444
  9. s0:Setup()
  10. s0:Color("#ddd")
  11. s0:Show("Gizmo")
  12. s0:Show("Light")
  13. --SCENE SETUP END
  14. --addlight 0.0 position (1 0 1) color #0ff
  15. --addlight 0.0 position (-0.2 -1 -0.5) color (.0 .2 .5 1)