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
import sys | |
from moviepy.editor import * | |
print(sys.argv) | |
skipTime = float(sys.argv[1]) | |
videoTime = float(sys.argv[2]) | |
inputName = sys.argv[3] | |
video = VideoFileClip(inputName) |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
[ExecuteInEditMode] | |
[ImageEffectAllowedInSceneView] | |
public class WalkableCollisionEffect : MonoBehaviour | |
{ | |
private readonly string normalShaderName = "Big Hops/Walkable Collision Normal"; |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System.Reflection; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
[CreateAssetMenu(fileName = "SceneVisualsData", menuName ="Luckshot/Scene Visuals Data")] |
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 "Big Hops/Character" | |
{ | |
Properties | |
{ | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Opaque" "Queue"="Geometry" } | |
LOD 200 |
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 Camera : MonoBehaviour { | |
public GameObject player; | |
//Images | |
public Texture2D pauseButton; | |
public Texture2D playButton; |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityStandardAssets.ImageEffects; | |
[ExecuteInEditMode] | |
public class IndoorMaskEffect : ImageEffectBase | |
{ | |
[SerializeField] | |
float _showMaskTime = 0.3f; |
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 "Sausage/Foliage/GrassGradient" | |
{ | |
Properties | |
{ | |
_Color("Color", Color) = (1, 1, 1, 1) | |
_Color2("Color2", Color) = (1, 1, 1, 1) | |
_GradientScale("Gradient Scale", Float) = 1.0 | |
_GradientOffset("Gradient Offset", Float) = 0.0 |
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
// This one is tied up with JMO toon shading, so I can't just past the shader :/ | |
half _SmushMinZ; | |
half _SmushXYOffset; | |
half4 _SmushCenterPos; | |
half4 initWorldPos; | |
// Vert | |
o.initWorldPos = worldPos; | |
half dist = _SmushMinZ - o.initWorldPos.z; | |
if(worldPos.z < _SmushMinZ) |
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
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' | |
Shader "Sausage/Water/Toon" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,1,1,1) | |
_SplashNormalFactor("Normal Factor", Range(1, 5)) = 1 | |
_Smoothing("Normal Smoothing", Range(0, 1)) = 0.3 |
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 "Sausage/Paint/Surface" | |
{ | |
Properties | |
{ | |
_Color("Color", Color) = (1,1,1,1) | |
_MainTex("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness("Smoothness", Range(0,1)) = 0.5 | |
_Metallic("Metallic", Range(0,1)) = 0.0 | |
_BumpScale("Scale", Float) = 1.0 |
NewerOlder