Author Topic: Skybox lighting  (Read 990 times)

Offline Terrabus

  • byte
  • *
  • Posts: 7
    • View Profile
Skybox lighting
« on: July 22, 2012, 01:09:37 pm »
As I was writing a question about how to change lighting on a skybox I finally figured it out... Thought I should share:

Code: [Select]
skybox.getWorld().setAmbientLight(r, g, b);
The skybox has it's own world. Tidy.