mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-16 01:54:38 +02:00
fix shadows for player two in high settings
This commit is contained in:
@@ -2459,7 +2459,7 @@ struct Level : IGame {
|
|||||||
params->waterHeight = params->clipHeight;
|
params->waterHeight = params->clipHeight;
|
||||||
|
|
||||||
if (shadow) {
|
if (shadow) {
|
||||||
if (view > 0 && Core::settings.detail.shadows < Core::Settings::HIGH)
|
if (view > 0/* && Core::settings.detail.shadows < Core::Settings::HIGH*/)
|
||||||
renderShadows(player->getRoomIndex()); // render shadows for player2 for all-in-one shadow technique
|
renderShadows(player->getRoomIndex()); // render shadows for player2 for all-in-one shadow technique
|
||||||
shadow->bind(sShadow);
|
shadow->bind(sShadow);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user