Author Topic: Creating different types of light  (Read 1075 times)

Offline jefferson.amarals

  • byte
  • *
  • Posts: 5
    • View Profile
Creating different types of light
« on: May 03, 2012, 03:45:28 pm »
How can I create different kinds of light, as DirectionalLight, PointLight and SpotLight, present in other engines java 3D?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Creating different types of light
« Reply #1 on: May 03, 2012, 08:13:38 pm »
A light in jPCT is always a point light. You can play around with the intensity and the attenuation.

Offline jefferson.amarals

  • byte
  • *
  • Posts: 5
    • View Profile
Re: Creating different types of light
« Reply #2 on: May 04, 2012, 01:00:24 pm »
Is there a future intention to implement other types of light?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Creating different types of light
« Reply #3 on: May 04, 2012, 01:19:57 pm »
No. Fixed function OpenGL lights of that kind are not looking very good anyway. If you want advanced lighting, you should use some shaders anyway.