Sorry ventilator ! Your shader works fine but the detail_size seems to be switched off then. Because I want to use rather huge terrains I cannot use one texture of 256x256 size all over the terrain. This looks very blurred then. How can I fix this problem? Do you have any idea?