raganmd
12/13/2017 - 2:03 AM

a starting point for writing GLSL fragment shaders in Touch. Specifically this is a sandard starting point to create unifrom and reusable co

a starting point for writing GLSL fragment shaders in Touch. Specifically this is a sandard starting point to create unifrom and reusable code blocks.

// OBSCURA DIGITAL
//
// contributing programmers
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// programmer | programmer@obscuradigital.com
 
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// DEFINITIONS
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// UNIFORMS
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
uniform float uName;
 
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// FUNCTIONS
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// OTHER
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

out vec4 fragColor;

void main(){
	// vec4 color     = texture(sTD2DInputs[0], vUV.st);
	vec4 color        = vec4(1.0);
	fragColor         = TDOutputSwizzle(color);
}