Hello, so I found why this wasn't working. Appearantly because when I created the project, I chose to use openGL 3.0 instead of openGL 2.0 and when I was in the editor mode, I told the Godot to use OpenGL 2.0 .I hope this helps to anyone who has this problem.