www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: jefferson.amarals on May 03, 2012, 03:45:28 pm

Title: Creating different types of light
Post by: jefferson.amarals 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?
Title: Re: Creating different types of light
Post by: EgonOlsen 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.
Title: Re: Creating different types of light
Post by: jefferson.amarals on May 04, 2012, 01:00:24 pm
Is there a future intention to implement other types of light?
Title: Re: Creating different types of light
Post by: EgonOlsen 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.