From 63bd448c059529ae601218066312ced783d6d578 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 28 Jul 2018 12:28:51 +0200 Subject: [PATCH] Make the reflections slightly more reflection-y --- .../voxelmodpack/hdskins/gui/RenderPlayerModel.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java b/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java index fc32f91e..c318d1ed 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java @@ -105,14 +105,17 @@ public class RenderPlayerModel extends RenderLiving player.leftArmPose = ArmPose.EMPTY; player.rightArmPose = ArmPose.EMPTY; - GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS); super.doRender(entity, x, y, z, entityYaw, partialTicks); - popAttrib(); + pushMatrix(); scale(1, -1, 1); - GL11.glPushAttrib(GL11.GL_ALL_ATTRIB_BITS); + + color(1, 1, 1, 0.3F); + super.doRender(entity, x, y, z, entityYaw, partialTicks); - popAttrib(); + + color(1, 1, 1, 1); + popMatrix(); } }