Skip to content

Instantly share code, notes, and snippets.

View num3ric's full-sized avatar

Éric Renaud-Houde num3ric

View GitHub Profile
@num3ric
num3ric / ColorPalette.cpp
Last active August 29, 2015 14:05
Color palette generator
#include "ColorPalette.h"
#include "cinder/CinderAssert.h"
#include "cinder/Rand.h"
#include <algorithm>
#include <numeric>
using namespace ci;
using namespace col;
@num3ric
num3ric / aratio.glsl
Created September 12, 2014 00:12
Multiple aspect ratios alignement - stupeflix
<movie service="craftsman-1.0">
<head>
<filtercode name="averageShift">
<![CDATA[
#version 120
#extension GL_EXT_gpu_shader4 : enable
uniform sampler2D texture0;
uniform sampler2D texture1;
@num3ric
num3ric / tutorial.md
Last active May 17, 2016 01:15
UE4 custom material nodes

Primer on how to use multiple custom material nodes in Unreal Engine 4

Create three custom nodes as follows:

Material Node Graph

SinewaveCustom (with output type CMOT Float 1)

//It is possible to use macros to define convenience local functions
#define SINENORM( arg ) 0.5 * ( sin( arg ) + 1.0 )
-.../Build/Android/PipelineCaches/...
-.../PS4/...
-.../QNX/...
-.../XB1/...
-.../Platforms/GDK/...
-.../Platforms/PS5/...
-.../Platforms/Sony/...
-.../Platforms/WinGDK/...
-.../Platforms/XSX/...
-.../Platforms/XboxCommon/...