Evolution of vertex and pixel shaders

  • Authors:
  • Marc Ebner;Markus Reinhardt;Jürgen Albert

  • Affiliations:
  • Lehrstuhl für Informatik II, Universität Würzburg, Würzburg, Germany;Lehrstuhl für Informatik II, Universität Würzburg, Würzburg, Germany;Lehrstuhl für Informatik II, Universität Würzburg, Würzburg, Germany

  • Venue:
  • EuroGP'05 Proceedings of the 8th European conference on Genetic Programming
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In real-time rendering, objects are represented using polygons or triangles. Triangles are easy to render and graphics hardware is highly optimized for rendering of triangles. Initially, the shading computations were carried out by dedicated hardwired algorithms for each vertex and then interpolated by the rasterizer. Todays graphics hardware contains vertex and pixel shaders which can be reprogrammed by the user. Vertex and pixel shaders allow almost arbitrary computations per vertex respectively per pixel. We have developed a system to evolve such programs. The system runs on a variety of graphics hardware due to the use of NVIDIA's high level Cg shader language. Fitness of the shaders is determined by user interaction. Both fixed length and variable length genomes are supported. The system is highly customizable. Each individual consists of a series of meta commands. The resulting Cg program is translated into the low level commands which are required for the particular graphics hardware.