Skip to content

Instantly share code, notes, and snippets.

View willnationsdev's full-sized avatar

Will Nations willnationsdev

View GitHub Profile
shader_type spatial;
render_mode shadows_disabled;
uniform float rim = 0.25;
uniform float rim_tint = 0.5;
uniform sampler2D albedo : hint_albedo;
uniform float specular;
uniform float roughness = 1.0;
uniform bool disable_lighting = false;
uniform vec4 shadow_color : hint_color;
@willnationsdev
willnationsdev / jquery.hasClassRegEx.js
Created May 4, 2018 14:07 — forked from naturalkei/jquery.hasClassRegEx.js
jQuery.hasClassRegEx() hasClass by using a Regex
(function($)
{
$.fn.hasClassRegEx = function(regex)
{
var classes = $(this).attr('class');
if(!classes || !regex){ return false; }
classes = classes.split(' ');
var len = classes.length;
@willnationsdev
willnationsdev / Migration.md
Created April 18, 2018 03:26 — forked from dploeger/Migration.md
Migration Notes Godot 2 => Godot 3
@willnationsdev
willnationsdev / Migration.md
Created April 18, 2018 03:26 — forked from dploeger/Migration.md
Migration Notes Godot 2 => Godot 3