About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Creating Lights
Author Message
unforgivenhero Offline
Member

Post: #1
Creating Lights
Hey guys, I'm a little confused on how to add lights to my game. I tried adding a light_point object in the world editor, but that does not create any light. I already programmed my game.cpp file to load lights, but nothing is turning up. How exactly do I create the light object in the world editor? And do I set its parameters in code or in the editor?

Thanks in advance.
07-20-2011 10:44 PM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #2
RE: Creating Lights
Load "Obj/Light/point.obj" into WE.
07-20-2011 11:57 PM
Find all posts by this user Quote this message in a reply
unforgivenhero Offline
Member

Post: #3
RE: Creating Lights
okay thanks!
07-21-2011 12:54 AM
Find all posts by this user Quote this message in a reply
Demostenes Offline
Banned

Post: #4
RE: Creating Lights
Is it possible to add icon to light, for example like in unity?

http://forum.mymmo.cz/demo/alca3.jpg

When I put light into scene, there is no visible indicator, there is light. When placing hundreds of lights, it is not possible to remember where I put them.
01-30-2012 12:18 AM
Find all posts by this user Quote this message in a reply
neo22 Offline
Member

Post: #5
RE: Creating Lights
+1 for a light icon, would be very useful.
01-30-2012 10:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #6
RE: Creating Lights
@neo22: just put a mesh in with the light object you place. The mesh will not display ingame and stay only in the editor.

www.thinkplaystudios.com
01-30-2012 06:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: Creating Lights
I have this on my list, I'll try to do it in near future. but yes, mesh is good temporary solution
01-30-2012 08:08 PM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #8
RE: Creating Lights
I consider this soo minor and, even moreso that there is a solution for it, that I hate for your time to be taken up by this.

www.thinkplaystudios.com
01-30-2012 11:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Barthap Offline
Member

Post: #9
RE: Creating Lights
temporary solution: 2 crossed (90 degrees angle) planes with light icon texture and culling turned off wink
(This post was last modified: 02-02-2012 05:44 PM by Barthap.)
02-02-2012 05:44 PM
Find all posts by this user Quote this message in a reply
Post Reply