X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=tests%2Fopengl%2Fdata%2Fshading%2Fgouraud_dir2;h=6cd3bd2ab04eeadd6fc21cfe35d3a115e9120081;hb=06d40093b715adf9cb1e36d25e5fde6bef2f7b41;hpb=cb7f92396f80270e13206be742038ca0ce04571a diff --git a/tests/opengl/data/shading/gouraud_dir2 b/tests/opengl/data/shading/gouraud_dir2 index 43b99ec858..6cd3bd2ab0 100644 --- a/tests/opengl/data/shading/gouraud_dir2 +++ b/tests/opengl/data/shading/gouraud_dir2 @@ -9,14 +9,10 @@ vclose ALL vinit View1 vcaps -ffp 0 vrenderparams -shadingModel vert -vlight delete 0 -vlight delete 0 -vlight delete 0 -vlight delete 0 -vlight delete 0 -vlight add ambient color WHITE -vlight add directional dir 1 0 0 color GREEN headlight 1 -vlight add directional dir -1 0 0 color RED1 headlight 1 +vlight -clear +vlight amblight -type AMBIENT -color WHITE +vlight dirlight1 -type DIRECTIONAL -dir 1 0 0 -color GREEN -headlight 1 +vlight dirlight2 -type DIRECTIONAL -dir -1 0 0 -color RED1 -headlight 1 # display shape restore [locate_data_file occ/fuse.brep] f