--- trunk/test/vr-phong.diderot 2010/08/06 20:40:57 248 +++ trunk/test/vr-phong.diderot 2010/08/06 21:37:04 249 @@ -36,7 +36,7 @@ { if (inside (pos,F)) { real val = F@pos; - vec3 grad = (D F)@pos; + vec3 grad = (∇ F)@pos; vec3 norm = grad/|grad|; vec3 halfDir = (lightDir - dir)/|lightDir - dir|; vec4 matRGBA = txf@[val];