fixed shaders for map editor
improved occlusion query
implemented custom texture filtering
fixed occlusion query for iOS