less wrong display preference
This commit is contained in:
parent
f287485d93
commit
877107a935
3 changed files with 5 additions and 5 deletions
|
@ -2,8 +2,8 @@
|
||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.dofdev.snake"
|
package="com.dofdev.snake"
|
||||||
android:versionCode="18"
|
android:versionCode="19"
|
||||||
android:versionName="1.30"
|
android:versionName="1.31"
|
||||||
android:installLocation="auto"
|
android:installLocation="auto"
|
||||||
>
|
>
|
||||||
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" />
|
<uses-sdk android:minSdkVersion="29" android:targetSdkVersion="32" />
|
||||||
|
|
|
@ -44,7 +44,7 @@ static class Arts
|
||||||
{
|
{
|
||||||
bool vr = Device.DisplayBlend == DisplayBlend.Opaque;
|
bool vr = Device.DisplayBlend == DisplayBlend.Opaque;
|
||||||
// render hands if not in mixed reality
|
// render hands if not in mixed reality
|
||||||
Input.HandVisible(Handed.Max, vr);
|
// Input.HandVisible(Handed.Max, vr);
|
||||||
if (vr)
|
if (vr)
|
||||||
{
|
{
|
||||||
// background standin if no passthrough
|
// background standin if no passthrough
|
||||||
|
|
|
@ -15,7 +15,7 @@ class Program
|
||||||
{
|
{
|
||||||
appName = "snake",
|
appName = "snake",
|
||||||
assetsFolder = "Assets",
|
assetsFolder = "Assets",
|
||||||
blendPreference = DisplayBlend.Blend,
|
blendPreference = DisplayBlend.AnyTransparent,
|
||||||
// overlayApp = true,
|
// overlayApp = true,
|
||||||
// overlayPriority = 1,
|
// overlayPriority = 1,
|
||||||
depthMode = DepthMode.D32,
|
depthMode = DepthMode.D32,
|
||||||
|
@ -29,7 +29,7 @@ class Program
|
||||||
|
|
||||||
Renderer.Scaling = 2;
|
Renderer.Scaling = 2;
|
||||||
World.OcclusionEnabled = true;
|
World.OcclusionEnabled = true;
|
||||||
// Device.DisplayBlend = DisplayBlend.Blend;
|
Device.DisplayBlend = DisplayBlend.AnyTransparent;
|
||||||
Renderer.EnableSky = false;
|
Renderer.EnableSky = false;
|
||||||
Renderer.ClearColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
|
Renderer.ClearColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue