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
Shader "Name" { | |
Properties { | |
name ("display name", Range (min, max)) = number | |
name ("display name", Float) = number | |
name ("display name", Int) = number | |
name ("display name", Color) = (number,number,number,number) | |
name ("display name", Vector) = (number,number,number,number) |
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
in vec2 v_texcoord; // texture coords | |
in vec3 v_normal; // normal | |
in vec3 v_binormal; // binormal (for TBN basis calc) | |
in vec3 v_pos; // pixel view space position | |
out vec4 color; | |
layout(std140) uniform Transforms | |
{ | |
mat4x4 world_matrix; // object's world position |
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
// dataTables.js is great! But it requires you to have "good" tables in | |
// the first place. If your table has an uneven number of columns per | |
// row, and you're getting the dreaded "Cannot read property | |
// 'mData' of undefined" this'll fix it. If you're missing a thead or | |
// tbody you'll get that error too - this won't fix that! | |
$(document).ready(function() { | |
// We need to make sure every row in our table has the same number of columns. | |
// Otherwise dataTable doesn't work. | |
$('table').each(function(i, elm) { |