Skip to content

Instantly share code, notes, and snippets.

View DuFF14's full-sized avatar

Greg Aring DuFF14

View GitHub Profile
@DuFF14
DuFF14 / osvr_server_config.json
Last active September 9, 2017 01:30
server config used to test OSVR-Unity-NativeVR suppoort.
{
"sleep": 0,
"renderManagerConfig": {
"meta": {
"schemaVersion": 1
},
"renderManagerConfig": {
"directModeEnabled": true,
"directDisplayIndex": 0,
"directHighPriorityEnabled": true,
@DuFF14
DuFF14 / osvr_server_config.json
Created June 7, 2017 01:07
server config file for galaxy s6, to be place in /sdcard/osvr/
/* The default config file, as used with the HDK, is fully auto-detected, so no configuration required. */
/* See the JSON-Schema for server config or other samples to see possible options. */
{
"display": {
"meta": {
"schemaVersion": 1
},
"hmd": {
"device": {
"vendor": "Samsung",
@DuFF14
DuFF14 / osvr_server_config.hdk14.direct.json
Created October 18, 2016 14:41
HDK 1.3/1.4 server config with direct mode
{
"sleep": 0,
"renderManagerConfig": {
"meta": {
"schemaVersion": 1
},
"renderManagerConfig": {
"directModeEnabled": true,
"directDisplayIndex": 0,
"directHighPriorityEnabled": true,
using UnityEngine;
using System.Collections;
public class TransparencyFlash : MonoBehaviour {
public KeyCode increaseOpacityKey = KeyCode.E;
public KeyCode decreaseOpacityKey = KeyCode.Q;
public KeyCode increaseFrequencyKey = KeyCode.C;
public KeyCode decreaseFrequencyKey = KeyCode.Z;
public float opacity = 0.1f;