Use shader data for get sampler register in CloudLayer and BasicClouds.

It is better to use data from shader.
If the order of the samplers in the shader is changed, this code will work correctly.