I'm no expert but loading and binding a white texture might fix your problem. Also from your source code I saw "Ciel.setColor(103,199,299);", perhaps it's different for your specific project but I have never seen color values go above 255.

Just to theorize before he answers:103, 199, 299 gives the light blue color of his sky, perhaps Soleil is the sun block (sol in spanish is sun) and when the sun falls it gets darker representing night.

If you are trying to draw a white rectangle, you need to either disable texturing or (preferably) use a white texture. Otherwise, your vertex color will be multiplied with the texture color, and you might end up with an unexpected result.

The problem here, obviously, is that it leads to an extra texture bind. The solution is to use sprite sheets, which you should already be using, instead of a separate Texture for your white 2x2 rectangle.

I'd strongly recommend you to avoid using SlickUtil -- it isn't well maintained, it's buggy, and it forces you into bad practices (i.e. immediate mode). Instead you should write your own texture loading code, through which you will learn a lot more than if you just continue to use SlickUtil.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org