Skip to content

Commit c2e3471

Browse files
authored
Reintroduce Sunset biome (#471)
* Enable sunset biome again * Add shader configuration values into specular color * Adjust PBR textures * Adjust height7 a bit * Increase texture blending * Trigger usage of textures
1 parent c223394 commit c2e3471

File tree

23 files changed

+13
-10
lines changed

23 files changed

+13
-10
lines changed

generator/src/main/java/com/faforever/neroxis/generator/TextureStyle.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import com.faforever.neroxis.generator.texture.MoonlightTextureGenerator;
1010
import com.faforever.neroxis.generator.texture.PrayerTextureGenerator;
1111
import com.faforever.neroxis.generator.texture.StonesTextureGenerator;
12+
import com.faforever.neroxis.generator.texture.SunsetTextureGenerator;
1213
import com.faforever.neroxis.generator.texture.SyrtisTextureGenerator;
1314
import com.faforever.neroxis.generator.texture.TextureGenerator;
1415
import com.faforever.neroxis.generator.texture.WindingRiverTextureGenerator;
@@ -29,7 +30,7 @@ public enum TextureStyle {
2930
MOONLIGHT(MoonlightTextureGenerator::new),
3031
PRAYER(PrayerTextureGenerator::new),
3132
STONES(StonesTextureGenerator::new),
32-
//SUNSET(SunsetTextureGenerator::new),
33+
SUNSET(SunsetTextureGenerator::new),
3334
SYRTIS(SyrtisTextureGenerator::new),
3435
WINDINGRIVER(WindingRiverTextureGenerator::new),
3536
WONDER(WonderTextureGenerator::new),

generator/src/main/java/com/faforever/neroxis/generator/style/HighReclaimStyleGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import com.faforever.neroxis.generator.texture.DesertTextureGenerator;
1515
import com.faforever.neroxis.generator.texture.FrithenTextureGenerator;
1616
import com.faforever.neroxis.generator.texture.MoonlightTextureGenerator;
17+
import com.faforever.neroxis.generator.texture.SunsetTextureGenerator;
1718
import com.faforever.neroxis.generator.texture.TextureGenerator;
1819
import com.faforever.neroxis.generator.texture.WonderTextureGenerator;
1920

@@ -41,7 +42,7 @@ protected WeightedOptionsWithFallback<TextureGenerator> getTextureGeneratorOptio
4142
new WeightedOption<>(new DesertTextureGenerator(), 1f),
4243
new WeightedOption<>(new FrithenTextureGenerator(), 1f),
4344
new WeightedOption<>(new MoonlightTextureGenerator(), 1f),
44-
// new WeightedOption<>(new SunsetTextureGenerator(), 1f),
45+
new WeightedOption<>(new SunsetTextureGenerator(), 1f),
4546
new WeightedOption<>(new WonderTextureGenerator(), 1f));
4647
}
4748
}

generator/src/main/java/com/faforever/neroxis/generator/style/StyleGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import com.faforever.neroxis.generator.texture.MarsTextureGenerator;
2121
import com.faforever.neroxis.generator.texture.PrayerTextureGenerator;
2222
import com.faforever.neroxis.generator.texture.StonesTextureGenerator;
23+
import com.faforever.neroxis.generator.texture.SunsetTextureGenerator;
2324
import com.faforever.neroxis.generator.texture.SyrtisTextureGenerator;
2425
import com.faforever.neroxis.generator.texture.TextureGenerator;
2526
import com.faforever.neroxis.generator.texture.WindingRiverTextureGenerator;
@@ -80,7 +81,7 @@ protected WeightedOptionsWithFallback<TextureGenerator> getTextureGeneratorOptio
8081
new WeightedOption<>(new MarsTextureGenerator(), 1f),
8182
new WeightedOption<>(new PrayerTextureGenerator(), 1f),
8283
new WeightedOption<>(new StonesTextureGenerator(), 1f),
83-
// new WeightedOption<>(new SunsetTextureGenerator(), 1f),
84+
new WeightedOption<>(new SunsetTextureGenerator(), 1f),
8485
new WeightedOption<>(new SyrtisTextureGenerator(), 1f),
8586
new WeightedOption<>(new WindingRiverTextureGenerator(), 1f),
8687
new WeightedOption<>(new WonderTextureGenerator(), 1f),

shared/src/main/resources/custom_biome/Sunset/Light.scmlighting

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
"z": 0.0
1717
},
1818
"specularColor": {
19-
"z": 0.0,
20-
"x": 0.16,
21-
"y": 0.0,
22-
"w": 0.0
19+
"z": 0.866,
20+
"x": 0.48,
21+
"y": 0.6,
22+
"w": 0.5
2323
},
2424
"fogStart": 0.0,
2525
"sunDirection": {

shared/src/main/resources/custom_biome/Sunset/materials.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
},
4545
{
4646
"path": "map/env/layers/mapInfo.dds",
47-
"scale": 1.0
47+
"scale": 10000.0
4848
},
4949
{
5050
"path": "map/env/layers/roughnessAndHeight.dds",
51-
"scale": 1.0
51+
"scale": 10000.0
5252
}
5353
],
5454
"normals": [
@@ -86,7 +86,7 @@
8686
},
8787
{
8888
"path": "map/env/layers/mapNormal.dds",
89-
"scale": 1.0
89+
"scale": 10000.0
9090
}
9191
],
9292
"previewColors": [
-5.33 MB
Binary file not shown.
4 MB
Binary file not shown.

source_images/Height1.png

225 KB
Loading

source_images/Height2.png

226 KB
Loading

source_images/Height3.png

210 KB
Loading

0 commit comments

Comments
 (0)