Joshua Moerman
14 years ago
5 changed files with 42 additions and 141 deletions
@ -1,65 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> |
|||
<CodeBlocks_project_file> |
|||
<FileVersion major="1" minor="6" /> |
|||
<Project> |
|||
<Option title="GlutTest" /> |
|||
<Option pch_mode="2" /> |
|||
<Option compiler="gcc" /> |
|||
<Build> |
|||
<Target title="Debug"> |
|||
<Option output="bin/Debug/GlutTest" prefix_auto="1" extension_auto="1" /> |
|||
<Option object_output="obj/Debug/" /> |
|||
<Option type="1" /> |
|||
<Option compiler="gcc" /> |
|||
<Compiler> |
|||
<Add option="-g" /> |
|||
</Compiler> |
|||
</Target> |
|||
<Target title="Release"> |
|||
<Option output="bin/Release/GlutTest" prefix_auto="1" extension_auto="1" /> |
|||
<Option object_output="obj/Release/" /> |
|||
<Option type="1" /> |
|||
<Option compiler="gcc" /> |
|||
<Compiler> |
|||
<Add option="-O2" /> |
|||
<Add option="-DNDEBUG" /> |
|||
</Compiler> |
|||
<Linker> |
|||
<Add option="-s" /> |
|||
</Linker> |
|||
</Target> |
|||
</Build> |
|||
<Compiler> |
|||
<Add option="-Wall" /> |
|||
<Add option="-fexceptions" /> |
|||
</Compiler> |
|||
<Linker> |
|||
<Add library="GLEW" /> |
|||
<Add library="glut" /> |
|||
<Add library="png" /> |
|||
</Linker> |
|||
<Unit filename="App.h" /> |
|||
<Unit filename="fbo.h" /> |
|||
<Unit filename="globals.h" /> |
|||
<Unit filename="main.cpp" /> |
|||
<Unit filename="pngwriter/pngwriter.cc" /> |
|||
<Unit filename="pngwriter/pngwriter.h" /> |
|||
<Unit filename="resources/myClearShader.frag" /> |
|||
<Unit filename="resources/myClearShader.vert" /> |
|||
<Unit filename="resources/myHBlurShader.frag" /> |
|||
<Unit filename="resources/myHBlurShader.vert" /> |
|||
<Unit filename="resources/myTeaShader.frag" /> |
|||
<Unit filename="resources/myTeaShader.vert" /> |
|||
<Unit filename="resources/myTextureShader.frag" /> |
|||
<Unit filename="resources/myTextureShader.vert" /> |
|||
<Unit filename="resources/myVBlurShader.frag" /> |
|||
<Unit filename="resources/myVBlurShader.vert" /> |
|||
<Unit filename="shader.h" /> |
|||
<Unit filename="stfu/stf.cpp" /> |
|||
<Unit filename="stfu/stf.hpp" /> |
|||
<Extensions> |
|||
<code_completion /> |
|||
<debugger /> |
|||
</Extensions> |
|||
</Project> |
|||
</CodeBlocks_project_file> |
@ -1,8 +1,9 @@ |
|||
varying vec4 color; |
|||
|
|||
void main( void ) { |
|||
gl_Position = ftransform(); |
|||
gl_Position.xyz = gl_Position.xyz*0.6; |
|||
gl_Position.x *= 600.0/800.0; |
|||
gl_Position = gl_Vertex; |
|||
gl_Position.xy /= vec2(800, 600)*0.5; |
|||
gl_Position.xy -= 1.0; |
|||
gl_Position.y *= -1.0; |
|||
color = gl_Vertex; |
|||
} |
|||
|
Reference in new issue