javascript mode, beginShape and lights
              in 
             Processing with Other Languages 
              •  
              1 years ago    
            
 
           
             I have been playing a bit with the Javascript mode of Processing 2.0a4. It seems that the directional lights are working with spheres (as shown in the online examples) but do not work with beginShape(QUAD_STRIPS) (works fine in standard mode but not in the Javascript export). See for example, a slightly changed version of the Toroid example:
            
            
            
             Does anyone know whether that's a WebGL problem, a limitation of processing.js or something that I could fix in the code? Thanks a lot.
            
            
             Andreas
            
 
            
              
              1  
            
 
            