mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-09 20:32:43 +01:00
Flatten low quality water
This commit is contained in:
parent
3ccf5ebaa2
commit
a4591695e9
@ -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;
|
||||
|
@ -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++ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user