mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 10:55:17 +00:00
Uncomment the non-shader approach to lighting the pylons.
This commit is contained in:
1 parent
7bbcbea3e7
commit
d704f06216
1 file changed
+5
-3
@@ -91,9 +91,11 @@ public class RenderTilePylon extends TileEntitySpecialRenderer {
|
||||
model.renderCrystal();
|
||||
|
||||
GL11.glColor4f(1F, 1F, 1F, 1F);
|
||||
// OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, lightmapX, lightmapY);
|
||||
// double alpha = (Math.sin(worldTime / 20D) / 2D + 0.5) / (ConfigHandler.oldPylonModel ? 1D : 2D);
|
||||
// GL11.glColor4d(1D, 1D, 1D, alpha + 0.183F);
|
||||
if(!ConfigHandler.useShaders) {
|
||||
OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, lightmapX, lightmapY);
|
||||
double alpha = (Math.sin(worldTime / 20D) / 2D + 0.5) / (ConfigHandler.oldPylonModel ? 1D : 2D);
|
||||
GL11.glColor4d(1D, 1D, 1D, alpha + 0.183F);
|
||||
}
|
||||
|
||||
GL11.glScalef(1.1F, 1.1F, 1.1F);
|
||||
if(!ConfigHandler.oldPylonModel)
|
||||
|
||||
Reference in new issue
Block a user