mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Bring back the cube shading, but with fixed lighting.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "HumanoidMobRenderer.hpp"
|
||||
#include "EntityRenderDispatcher.hpp"
|
||||
#include "Minecraft.hpp"
|
||||
#include "client/renderer/ItemInHandRenderer.hpp"
|
||||
#include "client/renderer/TileRenderer.hpp"
|
||||
#include "world/entity/Player.hpp"
|
||||
@@ -66,6 +67,7 @@ void HumanoidMobRenderer::onGraphicsReset()
|
||||
void HumanoidMobRenderer::renderHand()
|
||||
{
|
||||
m_pHumanoidModel->field_4 = 0;
|
||||
m_pHumanoidModel->setBrightness(m_pDispatcher->m_pMinecraft->m_pMobPersp->getBrightness(1.0f));
|
||||
m_pHumanoidModel->setupAnim(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0625f);
|
||||
m_pHumanoidModel->m_armL.render(0.0625f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user