jPCT-AE - a 3d engine for Android > Support
multiple lights
Wolf17:
The "setshadingmode " is used for setting the shading mode (flat or gourad shading) .It has nothing to do with shadow casting.
If your scene is extremely small (like confined to a room only) then maybe you should use the multitexturing approach with different lightmpas per same model and switch them according to the lighting you want(I know that it is a quick dirty solution ,but there is nothing bad in giving it a try!).This will actually make sure that your scenes are visually apealing(FOR STATIC SCENES ONLY!) !
Just make sure that your lightmaps are reasonably sized(or it will cause memory problems)!
The "virtualizer" will come handy to save you from memory problems. ;)
Navigation
[0] Message Index
[*] Previous page
Go to full version