GL11.glColor4f(1F, 1F, 1F, 1F);
return drawn;
}
private void drawOverlayTexture(IMajorConstellation attunedConstellation) {
BindableResource overlayTex = ClientPerkTextureMapping.getOverlayTexture(attunedConstellation);
<BUG>if(overlayTex == null) return;
double cX = guiLeft + guiWidth / 2D - widthHeight;

double cY = guiTop + guiHeight / 2D - widthHeight;
</BUG>
overlayTex.bind();

GL11.glColor4f(1F, 1F, 1F, 1F);
return drawn;
}
private void drawOverlayTexture(IMajorConstellation attunedConstellation) {
BindableResource overlayTex = ClientPerkTextureMapping.getOverlayTexture(attunedConstellation);
if(overlayTex == null) return;
GL11.glColor4f(255F / 255F, 222F / 255F, 0F, 0.3F * (1F - mouseHoverPerc));
GL11.glDisable(GL11.GL_ALPHA_TEST);
GL11.glEnable(GL11.GL_BLEND);
Blending.DEFAULT.apply();
double overlayWH = 90;
double cX = guiLeft + guiWidth / 2D - overlayWH;
double cY = guiTop + guiHeight / 2D - overlayWH;
overlayTex.bind();
