# PHONG SPLATTING
# M. Botsch, M. Spernat, L. Kobbelt

# Copyright (C) 2004 by Computer Graphics Group, RWTH Aachen




This directory contains the vertex and fragment programs for our Phongsplat
renderer.


Some minor changes were made to the original version for better readability.


There are two slightly different versions of the program. One is used for the
splats with clip lines and the other one is for the remaining splats. The
additional code lines for rendering textured models are as follows:

For the 2. pass in the vertex program use
    MOV oColor, iColor;
    
For the 2. pass in the fragment program use
    TEX R1, R1, TEX0, CUBE;
    MAD o[COLR], f[COL0], R1.x, R1.y;
instead of
    TEX  o[COLR], R1, TEX0, CUBE;

These lines are already contained in the code as comments.