Tweaked default graphics settings

This commit is contained in:
Joshua Barretto 2020-11-20 01:23:13 +00:00
parent 82da969707
commit 93a86a951e
3 changed files with 10 additions and 8 deletions

View File

@ -33,6 +33,7 @@ use tracing::{error, warn};
use vek::*;
/// Represents the format of the pre-processed color target.
// TODO: `(gfx::format::R11_G11_B10, gfx::format::Float)` would be better in theory, but it doesn't seem to work
pub type TgtColorFmt = gfx::format::Rgba16F;
/// Represents the format of the pre-processed depth and stencil target.
pub type TgtDepthStencilFmt = gfx::format::Depth;

View File

@ -642,18 +642,18 @@ impl Default for GraphicsSettings {
fn default() -> Self {
Self {
view_distance: 10,
sprite_render_distance: 150,
sprite_render_distance: 100,
particles_enabled: true,
figure_lod_render_distance: 250,
figure_lod_render_distance: 300,
max_fps: 60,
fov: 50,
fov: 70,
gamma: 1.0,
exposure: 1.0,
ambiance: 20.0,
ambiance: 0.0,
render_mode: RenderMode::default(),
window_size: [1920, 1080],
fullscreen: FullScreenSettings::default(),
lod_detail: 300,
lod_detail: 250,
}
}
}

View File

@ -18,11 +18,12 @@ impl<'a, R: Rng> NameGen<'a, R> {
pub fn generate(self) -> String {
let cons = vec![
"d", "f", "ph", "r", "st", "t", "s", "p", "sh", "th", "br", "tr", "m", "k", "st", "w", "y",
"cr", "fr", "dr", "pl", "wr", "sn", "g", "qu", "l",
];
let mut start = cons.clone();
start.extend(vec![
"cr", "thr", "str", "br", "ivy", "est", "ost", "ing", "kr", "in", "on", "tr", "tw", "wh",
"eld", "ar", "or", "ear", "ir",
"cr", "thr", "str", "br", "iv", "est", "ost", "ing", "kr", "in", "on", "tr", "tw", "wh",
"eld", "ar", "or", "ear", "irr", "mi", "en", "ed", "et", "ow", "fr", "shr", "wr", "gr", "pr",
]);
let mut middle = cons.clone();
middle.extend(vec!["tt"]);
@ -30,7 +31,7 @@ impl<'a, R: Rng> NameGen<'a, R> {
let end = vec![
"et", "ige", "age", "ist", "en", "on", "og", "end", "ind", "ock", "een", "edge", "ist",
"ed", "est", "eed", "ast", "olt", "ey", "ean", "ead", "onk", "ink", "eon", "er", "ow",
"cot", "in", "on",
"ot", "in", "on", "id", "ir", "or", "in", "ig", "en",
];
let mut name = String::new();