In MCPE rain and snow shaders have access to a special texture, that contains the heightmap of the terrain as well as lighting values from the lightmap. This texture is used to light the raindrops ...