I am trying to make the background a sky blue color with RGB of 135,206,235. When I run it, the background is not the color I expected.
public void render () {
Gdx.gl.glClearColor(.135f, .206f, .235f, 1);
Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
batch.begin();
batch.draw(img, 0, 0);
batch.end();
}
135/255f
instead of.125f
(and same for other 2 channels) – kajacx Jul 27 '14 at 21:46