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
Rendering city lights suggestion
- Ockonal
- Greenskin
- Posts: 109
- Joined: Mon Oct 26, 2009 8:26 am
- Location: Ukraine
- Contact:
Re: Rendering city lights suggestion
You could use hdr with lighted materials. For example, pass colour value * k.
-
- Ogre Magi
- Posts: 1266
- Joined: Tue Aug 12, 2003 1:53 am
- Location: Melbourne, Australia
- x 1
- Contact:
Re: Rendering city lights suggestion
You are going to be very happy
http://www.ogre3d.org/forums/viewtopic. ... 12&start=0
http://www.ogre3d.org/forums/viewtopic. ... 12&start=0
- alpha2
- Gnoblar
- Posts: 16
- Joined: Fri Jul 14, 2006 6:15 pm
Re: Rendering city lights suggestion
Thanks for all replies.
@Vectrex: Yup. It perfectly fits my need.
Cheers.
@Vectrex: Yup. It perfectly fits my need.
Cheers.