Rendering city lights suggestion

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
User avatar
alpha2
Gnoblar
Posts: 16
Joined: Fri Jul 14, 2006 6:15 pm

Rendering city lights suggestion

Post by alpha2 »

I need some suggestions on how to render lights from night scenery of a city. The city itself just a color texture on the terrain not a bunch of building meshes. The implementation will be used in a flight simulator program where the city will be often viewed from heights. I've listed some methods that I thought would work:

1. Create the city light texture that not affected by light color (darkened) when night arrives.
2. Create light meshes/billboards using a material that not affected by light color.
3. Any other ideas?

I'll use glow post processing filter on both methods to enhance it.
Which one from the methods would be suited in term of performance and quality?
Would deferred rendering will help in this situation, or it's only worth for dynamic lighting?

Thanks
User avatar
Ockonal
Greenskin
Posts: 109
Joined: Mon Oct 26, 2009 8:26 am
Location: Ukraine
Contact:

Re: Rendering city lights suggestion

Post by Ockonal »

You could use hdr with lighted materials. For example, pass colour value * k.
Vectrex
Ogre Magi
Posts: 1266
Joined: Tue Aug 12, 2003 1:53 am
Location: Melbourne, Australia
x 1
Contact:

Re: Rendering city lights suggestion

Post by Vectrex »

User avatar
alpha2
Gnoblar
Posts: 16
Joined: Fri Jul 14, 2006 6:15 pm

Re: Rendering city lights suggestion

Post by alpha2 »

Thanks for all replies.
@Vectrex: Yup. It perfectly fits my need. :D

Cheers.
Post Reply