mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 21:09:45 +00:00
Make glowing plastic blocks glow.
This commit is contained in:
1 parent
a91dcc49d4
commit
ee585c05dc
4 files changed
+103
-6
No files matched your search
@@ -55,18 +55,12 @@ public class RenderGlowPanel implements IIconSelfRegister
|
||||
{
|
||||
c.computeLighting(LightModel.standardLightModel);
|
||||
}
|
||||
|
||||
for(CCModel c : lightModels)
|
||||
{
|
||||
c.computeLighting(LightModel.standardLightModel);
|
||||
}
|
||||
}
|
||||
|
||||
public void renderStatic(PartGlowPanel panel)
|
||||
{
|
||||
CCRenderState.reset();
|
||||
CCRenderState.setBrightness(panel.world(), panel.x(), panel.y(), panel.z());
|
||||
CCRenderState.hasColour = true;
|
||||
|
||||
Colour colour = new ColourRGBA(panel.colour.getColor(0), panel.colour.getColor(1), panel.colour.getColor(2), 1);
|
||||
int side = panel.side.ordinal();
|
||||
|
||||
Reference in new issue
Block a user