forked from Kolyah35/minecraft-pe-0.6.1
Massive Java Parity Update - fileshredder
3D/Fancy Clouds have been ported over Sky Rendering is now an option between Java and PE Java Sky/Fog color option is now accurate using the original color ramp instead of PE's slightly lower one Grass Sides are now tinted, and can be toggled in settings Added stars, the sun, and the moon in the daylight cycle Sunset color has been added, appears when the sun is rising or falling, buggy on PE's sky rendering option. Fixed leaves being rendered bright green when foliage tinting was turned off. Enabled Tall Grass generation code Tall Grass is now tinted. Other compile options have to be tested
This commit is contained in:
@@ -43,7 +43,9 @@ public:
|
||||
void renderDebug(const AABB& b, float a) const;
|
||||
|
||||
void renderSky(float alpha);
|
||||
void generateStars();
|
||||
void renderClouds(float alpha);
|
||||
void renderAdvancedClouds(float alpha);
|
||||
void renderEntities(Vec3 cam, Culler* culler, float a);
|
||||
void renderSameAsLast(int layer, float alpha);
|
||||
void renderHit(Player* player, const HitResult& h, int mode, /*ItemInstance*/void* inventoryItem, float a);
|
||||
@@ -116,6 +118,9 @@ private:
|
||||
// shredder added again...
|
||||
int lastFogType;
|
||||
|
||||
bool LastTint;
|
||||
bool LastSideTint;
|
||||
|
||||
int ticks;
|
||||
int starList, skyList, darkList;
|
||||
|
||||
@@ -124,6 +129,12 @@ private:
|
||||
GLuint skyBuffer;
|
||||
int skyVertexCount;
|
||||
|
||||
GLuint voidBuffer;
|
||||
int voidVertexCount;
|
||||
|
||||
GLuint starBuffer;
|
||||
int starVertexCount;
|
||||
|
||||
// /*public*/ std::vector<TileEntity*> renderableTileEntities;
|
||||
Textures* textures;
|
||||
// /*private*/ TileRenderer tileRenderer;
|
||||
|
||||
Reference in New Issue
Block a user