Commit 1bb95bdb authored by Daniel Buckmaster's avatar Daniel Buckmaster

Merge pull request #747 from BeamNG/fix_water_reflection

WaterObject reflection fix.
parents 69838bdc ada24b3d
......@@ -732,6 +732,11 @@ void WaterObject::renderObject( ObjectRenderInst *ri, SceneRenderState *state, B
bool doQuery = ( !mPlaneReflector.mQueryPending && query && mReflectorDesc.useOcclusionQuery );
// We need to call this for avoid a DX9 or Nvidia bug.
// At some resollutions read from render target,
// break current occlusion query.
if ( doQuery )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment