<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>

<geexlab>

	
<window name="win3d01" title="Webcam demo" 
          width="1000" height="500" 
          gl_version_major="2" gl_version_minor="1" />




  <script name="init_scene" run_mode="INIT" filename="init.lua" />
  
	<script name="update_scene" run_mode="FRAME" filename="frame.lua" livecoding="1" />
	
  <script name="terminate_scene" run_mode="TERMINATE" filename="terminate.lua" />

  <script name="resize_scene" run_mode="SIZE" filename="size.lua" />




          
  <gpu_program name="texture_prog" >
    <raw_data_vs><![CDATA[	 
#version 120
void main()
{
  gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;		
  gl_TexCoord[0] = gl_MultiTexCoord0;
}
  ]]></raw_data_vs>
    <raw_data_ps><![CDATA[	 
#version 120    
uniform sampler2D tex0; 
void main() 
{ 
  vec2 uv = gl_TexCoord[0].xy;
  vec3 tc = texture2D(tex0, uv.xy).rgb;
	gl_FragColor = vec4(tc, 1.0);  
}
    ]]></raw_data_ps>
  </gpu_program>

          
  
</geexlab>
