Created
October 21, 2010 17:27
-
-
Save andsve/638911 to your computer and use it in GitHub Desktop.
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
[{"blockName" : "Block_aux_1", | |
"blockType" : "AuxComp", | |
"blockData" : {"auxType" : "script", | |
"src" : "return 100.0, 0.0, 0.0" | |
}, | |
"blockOutput" : [{"name" : "output1", | |
"type" : "vec3"}] | |
},{"blockName" : "Block_aux_2", | |
"blockType" : "AuxComp", | |
"blockData" : {"auxType" : "script", | |
"src" : "return 0.0, 0.0, 0.0" | |
}, | |
"blockOutput" : [{"name" : "output2", | |
"type" : "vec3"}] | |
},{"blockName" : "Block_aux_4", | |
"blockType" : "AuxComp", | |
"blockData" : {"auxType" : "texture", | |
"filepath" : "10828EF0_derptest.png", | |
"minfilter" : "nearest" | |
}, | |
"blockOutput" : [{"name" : "output4", | |
"type" : "texture"}] | |
},{"blockName" : "Block_aux_3", | |
"blockType" : "AuxComp", | |
"blockData" : {"auxType" : "model", | |
"filepath" : "82CAA962_teapot.ctm", | |
"minfilter" : "nearest" | |
}, | |
"blockOutput" : [{"name" : "output3", | |
"type" : "geometry"}] | |
},{"blockName" : "Block_render_5", | |
"blockType" : "Render", | |
"blockInput" : [{"block" : "Block_aux_1", "output" : "output1"}, | |
{"block" : "Block_aux_2", "output" : "output2"}, | |
{"block" : "Block_aux_4", "output" : "output4"}, | |
{"block" : "Block_aux_3", "output" : "output3"}], | |
"blockData" : {"width" : 512, | |
"height" : 512, | |
"cameraPosition" : "output1", | |
"cameraLookAt" : "output2", | |
"cameraFov" : 45.0, | |
"shaderVert" : "uniform sampler2D output4; varying vec3 n; | |
void main(void) | |
{ | |
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; | |
n = gl_Normal; | |
gl_TexCoord[0] = gl_MultiTexCoord0; | |
}", | |
"shaderFrag" : "uniform sampler2D output4; varying vec3 n; | |
void main() | |
{ | |
gl_FragColor = texture2D(output4, gl_TexCoord[0].st); | |
}" | |
}, | |
"blockOutput" : [ {"name" : "output5", "type" : "texture"}] | |
},{"blockName" : "Block_postprocess_7", | |
"blockType" : "Post-Process", | |
"blockInput" : [{"block" : "Block_render_5", "output" : "output5"}], | |
"blockData" : {"width" : 512, | |
"height" : 512, | |
"shaderVert" : "uniform sampler2D output5; uniform float script1; | |
void main(void) | |
{ | |
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; | |
gl_TexCoord[0] = gl_MultiTexCoord0; | |
}", | |
"shaderFrag" : "uniform sampler2D output5; uniform float script1; | |
void main() | |
{ | |
gl_FragData[0] = vec4(1.0) - texture2D(output5, gl_TexCoord[0].st); | |
}" | |
}, | |
"blockOutput" : [ {"name" : "output1", "type" : "texture"}] | |
},{"blockName" : "Block_output_6", | |
"blockType" : "Root", | |
"blockInput" : [{"block" : "Block_postprocess_7", "output" : "output1"}], | |
"blockData" : {"host" : "mkeyd.net", | |
"port" : "4632", | |
"feedback" : true, | |
"realtime" : false, | |
"shaderVert" : "uniform sampler2D output1; void main(void) | |
{ | |
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; | |
gl_TexCoord[0] = gl_MultiTexCoord0; | |
}", | |
"shaderFrag" : "uniform sampler2D output1; void main() | |
{ | |
gl_FragColor = texture2D(output1, gl_TexCoord[0].st); | |
}", | |
"width" : 512, | |
"height" : 512 | |
} | |
},{"blockName" : "PipelineTree", | |
"blockType" : "PipelineTree", | |
"blockData" : { "root" : "Block_output_6" } | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment