Changed GuiRenderSettings to have "Advanced" settings

Added GuiColorPicker and implemented it for Greenscreen color choosing
This commit is contained in:
CrushedPixel
2015-06-02 02:41:11 +02:00
parent db030cf174
commit 2331634af9
9 changed files with 345 additions and 71 deletions

View File

@@ -93,7 +93,7 @@ public abstract class CustomEntityRenderer {
renderglobal.renderSky(partialTicks, renderPass);
} else {
int c = options.getSkyColor();
clearColor(c >> 16, c >> 8 & 0xff, c & 0xff, 0xff);
clearColor((c >> 16 & 0xff) / (float) 0xff, (c >> 8 & 0xff) / (float) 0xff, (c & 0xff) / (float) 0xff, 1);
clear(GL_COLOR_BUFFER_BIT);
}
matrixMode(GL_PROJECTION);