Just a quick screenshot showing some progress:

Basic lighting shaders

I implemented a common shader library and 3 basic effects using shader model 3 and fx effects:

  • Basic per-vertex lighting: ambient, diffuse, specular, and emissive lighting. Shader supports 1 point light and/or 1 directional light per-pass.
  • Basic per-pixel: same lighting equation but calculated per-pixel.
  • Wireframe shader for gizmo rendering.

I also added basic camera and lights scene node objects.

blog comments powered by Disqus


07 October 2013