This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEditor; | |
| /* | |
| * Written by Ralph A. Barbagallo III | |
| * | |
| * www.ralphbarbagallo.com | |
| * | |
| * I wrote this becuase I was sick of switching scenes to play my loader scene and test my game. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class NaturalOrientation : MonoBehaviour { | |
| public static int ORIENTATION_UNDEFINED = 0x00000000; | |
| public static int ORIENTATION_PORTRAIT = 0x00000001; | |
| public static int ORIENTATION_LANDSCAPE = 0x00000002; | |
| public static int ROTATION_0 = 0x00000000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System; | |
| using System.Collections.Generic; | |
| public class AssetGPULoader : MonoBehaviour { | |
| public Camera activeCamera; | |
| RenderTexture _rt; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "Mobile/Ambient Diffuse Detail" { | |
| Properties { | |
| _Color ("Main Color", Color) = (1,1,1,1) | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| _Detail ("Detail (RGB)", 2D) = "gray" {} | |
| } | |
| SubShader { | |
| Pass{ | |
NewerOlder