Re: [Algorithms] Direct Sunlight Lighting Model
Brought to you by:
vexxed72
From: Tibor S. <tib...@zo...> - 2005-11-17 19:26:13
|
I'm not sure, but maybe you could try to implement Phong or Blinn lighting model. I haven't implemented them yet, but as I saw the demos, I think they add pretty of realism and feeling to the scene. David Whatley wrote: > Does anyone have any reference to a lighting equation that is better > than N.L for direct sunlight? The problem with N.L is that when the > light hits the surface direct on, the color at the pixel is exactly > that of the texel. But you never get any additional contribution from > the light source. > > Specular doesn't help as much as I'd like because if you use that, you > start to get everything looking glossy which isn't natural either. > > I'm already doing a highpass filter into a glow buffer and all that, > but getting things bright enough in the first place to look like they > are "bathed in sunlight" just seems to be a real problem.... nothing > much will pass the highpass filter in the first place. > > I'm experimenting with simply allowing L to be a value greater than 1 > (for brighter light) but not sure if I'm on the right track with > that. Ideas? > > -- David > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=6188 > > |