Jump to content


Is ambient vertex lighting enough?


1 reply to this topic

#1 dv_

    New Member

  • Members
  • Pip
  • 2 posts

Posted 30 December 2006 - 01:29 AM

Hi,
I am implementing static ambient lighting for scene geometry right now. First I wanted to use lightmaps as usual, but then I started to think about it: is this *really* the way to go? Nowadays the geometry can be highly tesselated, and direct lighting works well per-pixel, so why not simply encode the indirect lighting in the vertices? Its low frequency anyway..

It removes the batching issue (using lightmaps and batching together is hard), and removes the need for a texture atlas. Also, I can do ambient occlusion per-vertex, adding bent normals to the vertices - this way I even get some interactivity.

Do you have some opinions about this?

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 4782 posts
  • LocationBellevue, WA

Posted 30 December 2006 - 05:00 AM

This is the way HL2 does static lighting, I believe. You can also store the average incoming light direction and color per-vertex and thus do glossy surfaces as well as diffuse ones.
reedbeta.com - developer blog, OpenGL demos, and other projects





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users