mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
Merge pull request #520 from DavidWyand-GG/CausticsFix
Default value for WaterFogData plane distance
This commit is contained in:
commit
edbd334ed3
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ struct WaterFogData
|
||||||
wetDepth = 0.0f;
|
wetDepth = 0.0f;
|
||||||
wetDarkening = 0.0f;
|
wetDarkening = 0.0f;
|
||||||
color.set( 0.5f, 0.5f, 0.5f, 1.0f );
|
color.set( 0.5f, 0.5f, 0.5f, 1.0f );
|
||||||
plane.set( 0.0f, 0.0f, 1.0f );
|
plane.set( 0.0f, 0.0f, 1.0f, 1e10 ); // Default to global bounds distance
|
||||||
depthGradMax = 0.0f;
|
depthGradMax = 0.0f;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue