add shaders, remove multi block layer
This commit is contained in:
parent
1e7ef94ceb
commit
563f235b2f
129 changed files with 1848 additions and 1486 deletions
|
@ -1,6 +1,6 @@
|
|||
package client.renderer.entity;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
import org.lwjgl.opengl.GL46;
|
||||
|
||||
import client.renderer.model.ModelBat;
|
||||
import common.entity.animal.EntityBat;
|
||||
|
@ -30,18 +30,18 @@ public class RenderBat extends RenderLiving<EntityBat>
|
|||
*/
|
||||
protected void preRenderCallback(EntityBat entitylivingbaseIn, float partialTickTime)
|
||||
{
|
||||
GL11.glScalef(0.35F, 0.35F, 0.35F);
|
||||
GL46.glScalef(0.35F, 0.35F, 0.35F);
|
||||
}
|
||||
|
||||
protected void rotateCorpse(EntityBat bat, float p_77043_2_, float p_77043_3_, float partialTicks)
|
||||
{
|
||||
if (!bat.getIsBatHanging())
|
||||
{
|
||||
GL11.glTranslatef(0.0F, ExtMath.cos(p_77043_2_ * 0.3F) * 0.1F, 0.0F);
|
||||
GL46.glTranslatef(0.0F, ExtMath.cos(p_77043_2_ * 0.3F) * 0.1F, 0.0F);
|
||||
}
|
||||
else
|
||||
{
|
||||
GL11.glTranslatef(0.0F, -0.1F, 0.0F);
|
||||
GL46.glTranslatef(0.0F, -0.1F, 0.0F);
|
||||
}
|
||||
|
||||
super.rotateCorpse(bat, p_77043_2_, p_77043_3_, partialTicks);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue