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)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
SK.AddStepper<PassthroughFBExt>();
|
|
||||||
|
|
||||||
// Initialize StereoKit
|
// Initialize StereoKit
|
||||||
SKSettings settings = new SKSettings
|
SKSettings settings = new SKSettings
|
||||||
{
|
{
|
||||||
appName = "slash",
|
appName = "slash",
|
||||||
assetsFolder = "Assets",
|
assetsFolder = "Assets",
|
||||||
blendPreference = DisplayBlend.AnyTransparent,
|
blendPreference = DisplayBlend.Opaque,
|
||||||
// overlayApp = true,
|
// overlayApp = true,
|
||||||
// overlayPriority = 1,
|
// overlayPriority = 1,
|
||||||
depthMode = DepthMode.D32,
|
depthMode = DepthMode.D32,
|
||||||
disableFlatscreenMRSim = true,
|
disableFlatscreenMRSim = true,
|
||||||
renderScaling = 2,
|
renderScaling = 1.5f,
|
||||||
renderMultisample = 0,
|
renderMultisample = 0,
|
||||||
|
|
||||||
// displayPreference = DisplayMode.Flatscreen
|
// displayPreference = DisplayMode.Flatscreen
|
||||||
|
@ -29,9 +27,7 @@ class Program
|
||||||
if (!SK.Initialize(settings))
|
if (!SK.Initialize(settings))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Renderer.Scaling = 2;
|
Renderer.Scaling = 1.5f;
|
||||||
World.OcclusionEnabled = true;
|
|
||||||
Device.DisplayBlend = DisplayBlend.AnyTransparent;
|
|
||||||
Renderer.EnableSky = false;
|
Renderer.EnableSky = false;
|
||||||
Renderer.ClearColor = Color.Hex(0x42A590FF).ToLinear();// new Color(0.0f, 0.0f, 0.0f, 0.0f);
|
Renderer.ClearColor = Color.Hex(0x42A590FF).ToLinear();// new Color(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue