Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Does the lights work? Any examples?

Author
Message
jlahtinen
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 29th May 2014 21:41
I cannot get any useful result with the light commands.

Does those commands even work? Does anyone have a simple example?

My AppGameKit project: http://forum.thegamecreators.com/?m=forum_view&t=206794&b=48
29 games
19
Years of Service
User Offline
Joined: 23rd Nov 2005
Location: not entirely sure
Posted: 30th May 2014 03:34
Yes, the lights do work.



You have to be a little careful with the radius value of the point light, the intensity drops off rather fast. You can't use a point light without a directional light and you can only have one directional light and one point light (although you can right your own shader to over come this limit).

Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 30th May 2014 19:46
Hi
Thank you for this example.

Do you know how we can have some shadows ? Should it be made by a shader ?

http://www.dracaena-studio.com

Login to post a reply

Server time is: 2024-11-25 05:47:20
Your offset time is: 2024-11-25 05:47:20