texture2D is deprecated, use texture instead
Fix a crash with snow enabled tracks.