This is essentially the same as nruddock's shader in post 6, but if you are using the measuring shader to work out where you want things to happen then you might find this one more intuitive to set. Use math functions 3 to set the height where you want transition to begin and use math functions 5 to set how many height units you want the transition to last for.
View Ajax's Gallery - View
Ajax's Freestuff - View
Ajax's Store -
Send Ajax a message