www.jpct.net
jPCT - a 3d engine for Java => Support => Topic started by: dear_stephen on September 20, 2007, 11:28:19 am
-
I would like to disable lighting for a single object.
I have tried...
myObject.setLighting(Object3D.LIGHTING_NO_LIGHTS);
It works for lights added with... world.addLight()
...but not for ambient light.
Is there a way to disable the ambient light for an object?
Cheers,
Stephen
-
No, that's not possible ATM. I'll add it this evening.
-
Ok, i've added the option to do this to the beta (http://www.jpct.net/download/beta/jpctapi.zip (http://www.jpct.net/download/beta/jpctapi.zip)). However, i haven't tested, if it really works... ;)...but it should...
-
I hope it's just an option because for me it was usefull.
-
Yes. it's an additional option.