removed texture bleeding fixes
This commit is contained in:
parent
743a970595
commit
2f3c225e79
|
@ -68,10 +68,10 @@ public class TextureTerrainMap implements IconRegister {
|
|||
this.maxV = (float)(originY + tw) / (float)map.height;
|
||||
this.originX_center = originX + 16;
|
||||
this.originY_center = originY + 16;
|
||||
this.minU_center = (float)(originX_center + 0.1f) / (float)map.width;
|
||||
this.minV_center = (float)(originY_center + 0.1f) / (float)map.height;
|
||||
this.maxU_center = (float)(originX_center + 16 - 0.1f) / (float)map.width;
|
||||
this.maxV_center = (float)(originY_center + 16 - 0.1f) / (float)map.height;
|
||||
this.minU_center = (float)(originX_center + 0.025f) / (float)map.width;
|
||||
this.minV_center = (float)(originY_center + 0.025f) / (float)map.height;
|
||||
this.maxU_center = (float)(originX_center + 16 - 0.025f) / (float)map.width;
|
||||
this.maxV_center = (float)(originY_center + 16 - 0.025f) / (float)map.height;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -16,8 +16,8 @@ public class TexturedQuad {
|
|||
|
||||
public TexturedQuad(PositionTextureVertex[] par1ArrayOfPositionTextureVertex, Vec3 normal, int par2, int par3, int par4, int par5, float par6, float par7) {
|
||||
this(par1ArrayOfPositionTextureVertex);
|
||||
float var8 = 0.2F / par6;
|
||||
float var9 = 0.2F / par7;
|
||||
float var8 = 0.025F / par6;
|
||||
float var9 = 0.025F / par7;
|
||||
par1ArrayOfPositionTextureVertex[0] = par1ArrayOfPositionTextureVertex[0].setTexturePosition((float) par4 / par6 - var8, (float) par3 / par7 + var9);
|
||||
par1ArrayOfPositionTextureVertex[1] = par1ArrayOfPositionTextureVertex[1].setTexturePosition((float) par2 / par6 + var8, (float) par3 / par7 + var9);
|
||||
par1ArrayOfPositionTextureVertex[2] = par1ArrayOfPositionTextureVertex[2].setTexturePosition((float) par2 / par6 + var8, (float) par5 / par7 - var9);
|
||||
|
|
Loading…
Reference in New Issue
Block a user