fixing errors in these two filters
updating webgl-material example