Skip to content

Instantly share code, notes, and snippets.

View rustinlee's full-sized avatar

Rustin rustinlee

View GitHub Profile
@rustinlee
rustinlee / LightweightPipelineTemplateShader.shader
Last active July 11, 2019 22:38 — forked from phi-lira/UniversalPipelineTemplateShader.shader
Template shader to use as guide to create Lightweight Pipeline ready shaders. This shader works with LWRP 5.7.2 and above.
// When creating shaders for Lightweight Render Pipeline you can you the ShaderGraph which is super AWESOME!
// However, if you want to author shaders in shading language you can use this teamplate as a base.
// Please note, this shader does not match perfomance of the built-in LWRP Lit shader.
// This shader works with LWRP 5.7.2 version and above
Shader "Lightweight Render Pipeline/Custom/Physically Based Example"
{
Properties
{
// Specular vs Metallic workflow
[HideInInspector] _WorkflowMode("WorkflowMode", Float) = 1.0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Net.Sockets;
using System.IO;
using System.IO.Pipes;
using System.Text;
public class IPCTester : MonoBehaviour {
@rustinlee
rustinlee / index.html
Last active September 22, 2015 17:00 — forked from roine/index.html
improved infinite jQuery marquee with variable pixels/sec, better text width calculation, less resource usage http://jsfiddle.net/ua5rnr1j/
<div id="slider">
<div class="edge"></div>
<ul id="slide-container">
<li class="slideItem" >
News happened somewhere&nbsp;&bull;&nbsp;
</li>
<li class="slideItem">
Futhermore, even more news happened elsewhere&nbsp;&bull;&nbsp;
</li>
<li class="slideItem">