mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 09:04:31 +02:00
#23 remove maxVectors limit for shadow and water quality settings
This commit is contained in:
@@ -361,17 +361,12 @@ namespace Core {
|
||||
}
|
||||
|
||||
void setShadows(Quality value) {
|
||||
if (value > MEDIUM && !(support.maxVectors > 8))
|
||||
value = MEDIUM;
|
||||
shadows = value;
|
||||
}
|
||||
|
||||
void setWater(Quality value) {
|
||||
if (value > LOW && !(support.texFloat || support.texHalf))
|
||||
value = LOW;
|
||||
else
|
||||
if (value > MEDIUM && !(support.maxVectors > 8))
|
||||
value = MEDIUM;
|
||||
water = value;
|
||||
}
|
||||
} detail;
|
||||
|
Reference in New Issue
Block a user