lights

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
aiman
Posts: 19
Joined: Thu Nov 06, 2014 5:04 pm

lights

Post by aiman »

hello
i'm new here
i used other game engines, but i founded information on the web which say irrlicht is good game engine
i load collada (.dae) in my scene(that is ok), but i want a light like a sun light which affect whole scene.
thanks. :)
Foaly
Posts: 142
Joined: Tue Apr 15, 2014 8:45 am
Location: Germany

Re: lights

Post by Foaly »

You should read the tutorials first. http://irrlicht.sourceforge.net/tutorials/
For example tutorial 8 shows how to add a light. http://irrlicht.sourceforge.net/docu/example008.html
For more information, you can look into the documentation of light scene nodes: http://irrlicht.sourceforge.net/docu/cl ... _node.html

They show a lot and reading them will give you an idea of how irrlicht is structured.
Then you will find things easier in the documentation (http://irrlicht.sourceforge.net/docu/)

P.S. You write, that irrlicht is a game engine, but it is 'only' a 3d engine. This means it does not have things like advanced physics (but it has a simple collision detection).
For many purposes, you'll have to use some additional librarys (or code the stuff yourself, which I do not recommend, because there are many good librarys out there).
Post Reply