@@ -181,7 +181,6 @@ public void render(float partialTicks, WorldClient world, Minecraft mc)
181
181
float b = f8 * f18 ;
182
182
float a = afloat [3 ] * 2 / f18 ;
183
183
worldRenderer1 .pos (0.0D , 100.0D , 0.0D ).color (r , g , b , a ).endVertex ();
184
- byte b0 = 16 ;
185
184
r = afloat [0 ] * f18 ;
186
185
g = afloat [1 ] * f18 ;
187
186
b = afloat [2 ] * f18 / 20.0F ;
@@ -212,7 +211,7 @@ public void render(float partialTicks, WorldClient world, Minecraft mc)
212
211
a = 0.0F ;
213
212
214
213
// Render larger sun aura
215
- f10 = 40 .0F ;
214
+ f10 = 20 .0F ;
216
215
worldRenderer1 .pos (-f10 , 100.0D , -f10 ).color (r , g , b , a ).endVertex ();
217
216
worldRenderer1 .pos (0 , 100.0D , (double ) -f10 * 1.5F ).color (r , g , b , a ).endVertex ();
218
217
worldRenderer1 .pos (f10 , 100.0D , -f10 ).color (r , g , b , a ).endVertex ();
@@ -249,30 +248,6 @@ public void render(float partialTicks, WorldClient world, Minecraft mc)
249
248
tessellator1 .draw ();
250
249
GL11 .glEnable (GL11 .GL_TEXTURE_2D );
251
250
GL11 .glColor4f (1.0F , 1.0F , 1.0F , 0.1F );
252
- f10 = this .sunSize ;
253
- mc .renderEngine .bindTexture (SkyProviderVenus .sunTexture );
254
- worldRenderer1 .begin (GL11 .GL_QUADS , DefaultVertexFormats .POSITION_TEX );
255
- worldRenderer1 .pos (-f10 , 100.0D , -f10 ).tex (0.0D , 0.0D ).endVertex ();
256
- worldRenderer1 .pos (f10 , 100.0D , -f10 ).tex (1.0D , 0.0D ).endVertex ();
257
- worldRenderer1 .pos (f10 , 100.0D , f10 ).tex (1.0D , 1.0D ).endVertex ();
258
- worldRenderer1 .pos (-f10 , 100.0D , f10 ).tex (0.0D , 1.0D ).endVertex ();
259
- tessellator1 .draw ();
260
-
261
- // Render earth
262
- f10 = 0.5F ;
263
- GL11 .glScalef (0.6F , 0.6F , 0.6F );
264
- GL11 .glRotatef (40.0F , 0.0F , 0.0F , 1.0F );
265
- GL11 .glRotatef (200F , 1.0F , 0.0F , 0.0F );
266
- GL11 .glColor4f (1.0F , 1.0F , 1.0F , 1F );
267
- FMLClientHandler .instance ().getClient ().renderEngine .bindTexture (SkyProviderVenus .overworldTexture );
268
- worldRenderer1 .begin (GL11 .GL_QUADS , DefaultVertexFormats .POSITION_TEX );
269
- worldRenderer1 .pos (-f10 , -100.0D , f10 ).tex (0 , 1.0 ).endVertex ();
270
- worldRenderer1 .pos (f10 , -100.0D , f10 ).tex (1.0 , 1.0 ).endVertex ();
271
- worldRenderer1 .pos (f10 , -100.0D , -f10 ).tex (1.0 , 0 ).endVertex ();
272
- worldRenderer1 .pos (-f10 , -100.0D , -f10 ).tex (0 , 0 ).endVertex ();
273
- tessellator1 .draw ();
274
-
275
- GL11 .glDisable (GL11 .GL_TEXTURE_2D );
276
251
277
252
GL11 .glColor4f (1.0F , 1.0F , 1.0F , 1.0F );
278
253
GL11 .glDisable (GL11 .GL_BLEND );
@@ -390,11 +365,6 @@ private void renderStars()
390
365
var2 .draw ();
391
366
}
392
367
393
- private Vec3d getCustomSkyColor ()
394
- {
395
- return new Vec3d (0.26796875D , 0.1796875D , 0.0D );
396
- }
397
-
398
368
public float getSkyBrightness (float par1 )
399
369
{
400
370
final float var2 = FMLClientHandler .instance ().getClient ().world .getCelestialAngle (par1 );
0 commit comments