lights inside mesh - will it work fine?

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
Bonaducci
Posts: 11
Joined: Fri Aug 03, 2012 1:22 am
Location: Wrocław, Poland

lights inside mesh - will it work fine?

Post by Bonaducci »

As I've written in one thread, I'm developing game with new, prototype engine with full demolition and build model. I've read sometimes about negatives of putting light into mesh, but I'm not sure if it's good or bad idea for irrlicht.
I'm wondering if creating quite big meshes (let's say, some caves or buildings build with one material) will negatively affect on behavior of my game (graphic problems or speed). Surely there will be some lights inside this objects. I can also try to split them into more simpler meshes, but I don't know if it's necessary.

So could someone smart tell me about it?
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: lights inside mesh - will it work fine?

Post by hendu »

There should be no issue for lights. On the other hand, I don't think shadow volumes work for that case.
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: lights inside mesh - will it work fine?

Post by mongoose7 »

I don't know what you expect to happen. For example, lights inside a cave will light up objects outside the cave.
Bonaducci
Posts: 11
Joined: Fri Aug 03, 2012 1:22 am
Location: Wrocław, Poland

Re: lights inside mesh - will it work fine?

Post by Bonaducci »

So how to create scene to get it more realistic? I should use more smaller meshes or what?
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: lights inside mesh - will it work fine?

Post by hendu »

That's not a question we can answer. Please elaborate on what is your issue and what you expect.
Post Reply