Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Creating different types of light
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Creating different types of light (Read 2835 times)
jefferson.amarals
byte
Posts: 5
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?
Logged
EgonOlsen
Administrator
quad
Posts: 12298
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.
Logged
jefferson.amarals
byte
Posts: 5
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?
Logged
EgonOlsen
Administrator
quad
Posts: 12298
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Creating different types of light