Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final Tessellator tessellator = Tessellator.getInstance();
- final VertexBuffer buffer = tessellator.getBuffer();
- final int alpha = ((int) (1.0D * 0xFF)) << 24;
- this.bindTexture(SIGN_TEXTURE);
- for (final BakedQuad quad : model.getQuads(ModBlocks.blockInfoPoster.getActualState(ModBlocks.blockInfoPoster.getDefaultState(), te.getWorld(), new BlockPos(x,y,z)), null, alpha))
- {
- buffer.begin(GL11.GL_QUADS, quad.getFormat());
- final int color = alpha | 0xffffff;
- LightUtil.renderQuadColor(buffer, quad, color);
- tessellator.draw();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement