jPCT-AE - a 3d engine for Android > Support

Skybox lighting

(1/1)

Terrabus:
As I was writing a question about how to change lighting on a skybox I finally figured it out... Thought I should share:


--- Code: ---skybox.getWorld().setAmbientLight(r, g, b);
--- End code ---

The skybox has it's own world. Tidy.

Navigation

[0] Message Index

Go to full version