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
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'), |
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
// 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 |