this.uploadFloat(this.lightSourceColorUniformIDs[i], lightSource.r, lightSource.g, lightSource.b);
this.uploadFloat(this.lightSourceRadiusUniformIDs[i], lightSource.radius);
}
this.uploadInt(this.lightSourceAmountUniformID, renderedLightSources);
this.uploadFloat(this.msTimeUniformID, System.nanoTime() / 1000000.0F);
<BUG>this.uploadFloat(this.worldTimeUniformID, Minecraft.getMinecraft().theWorld.getWorldTime() + partialTicks);
Vec3d camPos = ActiveRenderInfo.projectViewFromEntity(Minecraft.getMinecraft().getRenderViewEntity(), partialTicks);
</BUG>
this.uploadFloat(this.camPosUniformID, (float)camPos.xCoord, (float)camPos.yCoord, (float)camPos.zCoord);
}

this.uploadFloat(this.lightSourceColorUniformIDs[i], lightSource.r, lightSource.g, lightSource.b);
this.uploadFloat(this.lightSourceRadiusUniformIDs[i], lightSource.radius);
}
this.uploadInt(this.lightSourceAmountUniformID, renderedLightSources);
this.uploadFloat(this.msTimeUniformID, System.nanoTime() / 1000000.0F);
this.uploadFloat(this.worldTimeUniformID, Minecraft.getMinecraft().theWorld.getWorldTime() + partialTicks);
Entity renderView = Minecraft.getMinecraft().getRenderViewEntity();
Vec3d camPos = renderView != null ? ActiveRenderInfo.projectViewFromEntity(Minecraft.getMinecraft().getRenderViewEntity(), partialTicks) : Vec3d.ZERO;
this.uploadFloat(this.camPosUniformID, (float)camPos.xCoord, (float)camPos.yCoord, (float)camPos.zCoord);
}
