Skip to content

Instantly share code, notes, and snippets.

View travelhawk's full-sized avatar

Michael Falk travelhawk

  • Humatects GmbH
  • Oldenburg
View GitHub Profile
@travelhawk
travelhawk / old-gulpfile.js
Created February 24, 2023 13:13 — forked from RichardBray/old-gulpfile.js
Old Gulpfile for article/tutorial moving from Gulp to Webpack
var gulp = require('gulp'),
gutil = require('gulp-util'),
sass = require('gulp-ruby-sass'),
minifyCSS = require('gulp-minify-css'),
concat = require('gulp-concat'),
webserver = require('gulp-webserver'),
uglify = require('gulp-uglify'),
rename = require('gulp-rename'),
minifyHTML = require('gulp-minify-html'),
imagemin = require('gulp-imagemin'),
@travelhawk
travelhawk / TMP_SDF-MobileInstanced.shader
Created April 30, 2019 10:39 — forked from peted70/TMP_SDF-MobileInstanced.shader
TextMeshPro Shader updated to work with Single pass stereo rendering in Unity
// Simplified SDF shader:
// - No Shading Option (bevel / bump / env map)
// - No Glow Option
// - Softness is applied on both side of the outline
Shader "TextMeshPro/Mobile/Distance Field Instanced" {
Properties {
_FaceColor ("Face Color", Color) = (1,1,1,1)
_FaceDilate ("Face Dilate", Range(-1,1)) = 0