 		@loading = true
 
 	_getTextureId: ( filePath ) ->
-
+		filePath = filePath.replace(/\\/g, '/');
 		textureId = filePath.split('/').pop()
 		textureId = textureId.split('.')[0]
 


	removeTexture: ( filePath ) =>

		textureId = @_getTextureId( filePath )

		if filePath.indexOf('file:///') is -1
			filePath = @_getFilePath( filePath )

				console.warn '[glsl-preview] texture couldnt load'
		)

		#textureId = @_getTextureId( filePath )
		textureId = 'texture'

		# console.log 'textureId', textureId

