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
// Upgrade NOTE: replaced '_Object2World' with 'unity_ObjectToWorld' | |
Shader "FX/Water" { | |
Properties { | |
_WaveScale ("Wave scale", Range (0.02,3.0)) = 0.063 | |
_ReflDistort ("Reflection distort", Range (0,1.5)) = 0.44 | |
_RefrDistort ("Refraction distort", Range (0,1.5)) = 0.40 | |
_Brightness("Brightness", Range(0,1.0)) = 0.40 | |
_RefrColor ("Refraction color", COLOR) = ( .34, .85, .92, 1) | |
[NoScaleOffset] _Fresnel ("Fresnel (A) ", 2D) = "gray" {} |
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
/* | |
** Copyright (c) 2012, Romain Dura [email protected] | |
** | |
** Permission to use, copy, modify, and/or distribute this software for any | |
** purpose with or without fee is hereby granted, provided that the above | |
** copyright notice and this permission notice appear in all copies. | |
** | |
** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
** WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
** MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
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
System Information report written at: 12/18/14 13:30:30 | |
System Name: ALPHA-6YFV322 | |
[System Summary] | |
Item Value | |
OS Name Microsoft Windows 8.1 | |
Version 6.3.9600 Build 9600 | |
Other OS Description Not Available | |
OS Manufacturer Microsoft Corporation | |
System Name ALPHA-6YFV322 |
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
Library | |
Temp | |
*.sln | |
*.csproj | |
*.unityproj | |
*.pidb | |
*.userprefs |
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
# disable screensaver | |
defaults -currentHost write com.apple.screensaver idleTime 0; | |
# restart automatically if crashes | |
systemsetup -setrestartfreeze on; | |
# disable sleep | |
systemsetup -setcomputersleep Off > /dev/null; | |
# disable bluetooth setup dialog boxes |
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
// http://mrl.nyu.edu/~perlin/noise/ | |
var ImprovedNoise = function () { | |
var p = [151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10, | |
23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87, | |
174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211, | |
133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208, | |
89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5, | |
202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119, |
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
/* | |
Basic color class for converting HSV, RGB, and HEX etc | |
*/ | |
var HSVColor; | |
HSVColor = (function() { |
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
// Generated by CoffeeScript 1.6.3 | |
var RubberPoint, VerletPoint, VerletStick, | |
__hasProp = {}.hasOwnProperty, | |
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | |
VerletPoint = (function() { | |
VerletPoint.prototype.down = false; | |
VerletPoint.prototype.oldX = null; |
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
``` | |
title: Running an installation on a Mac | |
layout: post | |
tags: ['dev','osx','post'] | |
``` | |
A quick guide for designers and newcomers to the world of installations. This article explains how to prepare your Mac its first run. We also briefly look at Launch Agents and Applescripts. Bash gurus need not apply. | |
*Version 1.0 - October 8, 2013* |
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 UnityEngine; | |
using UnityEditor; | |
using System.IO; | |
// Create a Sublime Text 2 project from a Unity project | |
// Includes folders and file types of your choosing | |
// Includes all assemblies for autocompletion in CompleteSharp package | |
public class SyncSublimeText : Editor |
NewerOlder