simply setting these
my.ambient = 10;
my.albedo = 100;
wont do anything of course because this is a shader.. the normal directx material properties have no meaning for shaders. you would need to code the into the shader the lighitng properties.
Anyway, in this shader the lighting isnt even applied anyway.. thid is not coded correctly..The sunlight is calculated in the vertex shader but not even applied in the pixel sahder, and there are no pointlights calculated at all. This is not a useful shader..