6 ########################################################
7 # Test texture color modulation for AIS_TexturedShape
8 ########################################################
10 set aV "Driver1/Viewer1/View1"
11 vinit name=$aV l=32 t=32 w=400 h=400
20 vlight add ambient color white
26 vtexture b -modulate off
28 checkcolor $check_x $check_y 1 1 1
31 puts "Error : color of non-modulated texture is incorrect"
34 vdump $imagedir/${casename}_1.png
36 vtexture b -modulate on
38 checkcolor $check_x $check_y 0.329 0.224 0.027
41 puts "Error : color of modulated texture is incorrect"
44 vdump $imagedir/${casename}_2.png