mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Update shadow quality choices to be lowercase
Don't show in changelog
This commit is contained in:
@@ -177,19 +177,19 @@ namespace gdjs {
|
||||
);
|
||||
}
|
||||
if (parameterName === 'shadowQuality') {
|
||||
if (value === 'Low') {
|
||||
if (value === 'low') {
|
||||
this.light.shadow.mapSize.set(512, 512);
|
||||
this.light.shadow.map?.dispose(); //force the recreation of the shadow texture
|
||||
this.light.shadow.map = null;
|
||||
this.light.shadow.needsUpdate = true;
|
||||
}
|
||||
if (value === 'Medium') {
|
||||
if (value === 'medium') {
|
||||
this.light.shadow.mapSize.set(1024, 1024);
|
||||
this.light.shadow.map?.dispose(); //force the recreation of the shadow texture
|
||||
this.light.shadow.map = null;
|
||||
this.light.shadow.needsUpdate = true;
|
||||
}
|
||||
if (value === 'High') {
|
||||
if (value === 'high') {
|
||||
this.light.shadow.mapSize.set(2048, 2048);
|
||||
this.light.shadow.map?.dispose(); //force the recreation of the shadow texture
|
||||
this.light.shadow.map = null;
|
||||
|
Reference in New Issue
Block a user