set different materials to blocks you want to change independently (originally they can have the same shader), and:
effect_load(mtl_flat ,"your.fx");
effect_load(mtl_shaded ,"your.fx");


Free world editor for 3D Gamestudio: MapBuilder Editor