This file contains 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 "Custom/Slice" | |
{ | |
Properties | |
{ | |
_Color ("Colour", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_SliceType ("Slicing Type", Range(0, 8)) = 0 | |
_SliceAngle ("Slice Angle", Float) = 0.1 | |
_SlicingWidth ("Slicing Width", Range(0, 1)) = 0.5 |
This file contains 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 "Custom/ShowHeight" | |
{ | |
Properties | |
{ | |
_IsBlendingColor ("Blend Colours? (0 = No, 1 = Yes)", Range (0, 1)) = 1 | |
_BlendSharpness ("Blend Sharpness", Range(0.01, 4)) = 0.75 | |
_ColorWater ("Color Water", Color) = (1, 1, 1, 1) | |
_TextureWater ("Texture Water", 2D) = "white" {} | |
_BumpMapWater ("Normal Map Water", 2D) = "bump" {} |
This file contains 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 System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
/// <summary> | |
/// Character Controller class. | |
/// </summary> | |
public class JC_CharacterController : JC_SimulatedPhysics | |
{ |
This file contains 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using Vuforia; | |
public class Camera_Focus : MonoBehaviour | |
{ | |
void Start() | |
{ | |
var vuforia = VuforiaARController.Instance; |