TINYGL: Implemented alpha interpolation in triangle rasterization routine.

This commit is contained in:
Stefano Musumeci 2014-06-19 17:30:28 +02:00
parent 03072c4b7b
commit 63fd685589
13 changed files with 320 additions and 163 deletions

View file

@ -102,6 +102,7 @@ void glInit(void *zbuffer1) {
c->longcurrent_color[0] = 65535;
c->longcurrent_color[1] = 65535;
c->longcurrent_color[2] = 65535;
c->longcurrent_color[3] = 65535;
c->current_normal = Vector4(1.0f, 0.0f, 0.0f, 0.0f);