I want to add that my effect is a modified version of the 3 textures script so it only uses two scripts (just deleted pass2). Well, I now tried the old effect that you wrote and it "works". That means there is no error but: when a sky texture is rendered the terrain turns grey - no texture is rendered. just gourad shading.

I'm using a GeForce2 MX400, latest drivers.


Follow me on twitter