#N canvas 35 199 651 458 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 8 335 cnv 15 430 80 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 11 334 Inlets:;
#X text 10 386 Outlets:;
#X obj 8 296 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 295 Arguments:;
#X obj 7 76 cnv 15 430 210 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 444 77 cnv 15 200 230 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 60 Example:;
#X obj 450 178 cnv 15 190 70 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 84 gemhead;
#X text 63 306 <none>;
#X text 28 399 Outlet 1: gemlist;
#X text 35 346 Inlet 1: gemlist;
#X obj 10 211 cnv 15 420 70 empty empty empty 20 12 0 14 #d8fcfc #404040 0;
#X text 71 31 Class: shader object;
#X obj 516 184 bng 15 250 50 0 empty empty empty 0 -6 0 8 #fcfcfc #000000 #000000;
#N canvas 0 0 450 300 open 0;
#X obj 75 103 openpanel;
#X obj 75 173 outlet;
#X obj 75 127 t b s;
#X msg 105 152 set open \$1;
#X obj 75 80 inlet;
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X connect 2 1 3 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X restore 459 183 pd open;
#X text 14 219 IMPORTANT NOTE: your openGL-implementation (gfx-card driver \, ...) has to support either (or both) the ARB shader extensions or the NV shader extensions in order to make use of this object.;
#X text 10 176 Of course \, you also have to supply anything else needed for the shader to work (like textures \, ...);
#X obj 451 266 teapot;
#X msg 459 203 open examples/data/random.fp;
#X text 50 12 Synopsis: [fragment_program];
#X text 12 76 Description: load and apply an ARB fragment shader;
#X text 24 95 [fragment_program] loads and applies an ARB (or NV) fragment shader.;
#X text 11 123 If you want to modify the parameters of the shader-program \, you have to set the modification up yourself \, via [GEMglProgramEnvParameter*] working on GL_FRAGMENT_PROGRAM_ARB.;
#X text 35 358 Inlet 1: message: open <filename> : fragment shader program to load;
#X text 443 406 see also;
#X obj 508 406 vertex_program;
#X obj 451 226 fragment_program random.fp;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION load and apply an ARB fragment shader;
#X text 10 65 KEYWORDS Gem openGL shader;
#X text 20 85 INLET_0 gemlist open;
#X text 20 105 OUTLET_0 gemlist;
#X text 10 125 AUTHOR IOhannes m zmölnig;
#X text 10 145 LICENSE GPL-2.0-or-later;
#X restore 538 8 pd META;
#X obj 547 330 _gemwin;
#X connect 10 0 29 0;
#X connect 16 0 17 0;
#X connect 17 0 21 0;
#X connect 21 0 29 0;
#X connect 29 0 20 0;
