opaque display preference and more reasonable renderscaling for style of game
This commit is contained in:
parent
8fc4425fc7
commit
6e8b9ce8b3
1 changed files with 3 additions and 7 deletions
|
@ -8,19 +8,17 @@ class Program
|
|||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
SK.AddStepper<PassthroughFBExt>();
|
||||
|
||||
// Initialize StereoKit
|
||||
SKSettings settings = new SKSettings
|
||||
{
|
||||
appName = "slash",
|
||||
assetsFolder = "Assets",
|
||||
blendPreference = DisplayBlend.AnyTransparent,
|
||||
blendPreference = DisplayBlend.Opaque,
|
||||
// overlayApp = true,
|
||||
// overlayPriority = 1,
|
||||
depthMode = DepthMode.D32,
|
||||
disableFlatscreenMRSim = true,
|
||||
renderScaling = 2,
|
||||
renderScaling = 1.5f,
|
||||
renderMultisample = 0,
|
||||
|
||||
// displayPreference = DisplayMode.Flatscreen
|
||||
|
@ -29,9 +27,7 @@ class Program
|
|||
if (!SK.Initialize(settings))
|
||||
return;
|
||||
|
||||
Renderer.Scaling = 2;
|
||||
World.OcclusionEnabled = true;
|
||||
Device.DisplayBlend = DisplayBlend.AnyTransparent;
|
||||
Renderer.Scaling = 1.5f;
|
||||
Renderer.EnableSky = false;
|
||||
Renderer.ClearColor = Color.Hex(0x42A590FF).ToLinear();// new Color(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue