ccdemos/realtime_dragon.cc
branchpyrit
changeset 72 7c3f38dff082
parent 71 4fedf7290929
child 80 907929fa9b59
equal deleted inserted replaced
71:4fedf7290929 72:7c3f38dff082
    13 	rt.setMaxDepth(0);
    13 	rt.setMaxDepth(0);
    14 	rt.setTop(&top);
    14 	rt.setTop(&top);
    15 
    15 
    16 	Light light1(Vector3(-5.0, 2.0, 8.0), Colour(0.9, 0.3, 0.6));
    16 	Light light1(Vector3(-5.0, 2.0, 8.0), Colour(0.9, 0.3, 0.6));
    17 	light1.castShadows(false);
    17 	light1.castShadows(false);
    18 	rt.addlight(&light1);
    18 	rt.addLight(&light1);
    19 
    19 
    20 	//Light light2(Vector3(-2.0, 10.0, 2.0), Colour(0.4, 0.6, 0.3));
    20 	//Light light2(Vector3(-2.0, 10.0, 2.0), Colour(0.4, 0.6, 0.3));
    21 	//light2.castShadows(false);
    21 	//light2.castShadows(false);
    22 	//rt.addlight(&light2);
    22 	//rt.addlight(&light2);
    23 
    23