1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00

Flatten low quality water

This commit is contained in:
Daniel Evans 2014-06-25 01:12:32 +01:00
parent 3ccf5ebaa2
commit a4591695e9
2 changed files with 1 additions and 4 deletions

View File

@ -8,10 +8,6 @@ struct WaterHQ {
static const char* VertexShader;
static const char* FragmentShader;
};
struct WaterLQ {
static const char* VertexShader;
static const char* FragmentShader;
};
struct Sky {
static const char* VertexShader;

View File

@ -428,6 +428,7 @@ void GameRenderer::renderWorld(float alpha)
}
glBindVertexArray( waterLQDraw.getVAOName() );
glUniform2f(waterWave, 0.0f, 0.0f);
glUniform1f(waterSize, blockLQSize);
for( int x = 0; x < WATER_LQ_DATA_SIZE; x++ ) {