tavli

diff src/board.cc @ 15:b1a195c3ee16

added shaders
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 28 Jun 2015 08:34:24 +0300
parents 283eb6e9f0a3
children 16a420432aa3
line diff
     1.1 --- a/src/board.cc	Sun Jun 28 07:44:23 2015 +0300
     1.2 +++ b/src/board.cc	Sun Jun 28 08:34:24 2015 +0300
     1.3 @@ -221,6 +221,7 @@
     1.4  	opiece->mtl.diffuse = Vector3(0.6, 0.6, 0.6);
     1.5  	opiece->mtl.specular = Vector3(0.8, 0.8, 0.8);
     1.6  	opiece->xform().set_translation(Vector3(0, 0.2, 0));
     1.7 +	opiece->set_shader(sdr_phong_notex);
     1.8  	obj.push_back(opiece);
     1.9  
    1.10  	// meshgen stats