Simple Shader using ARB_vertex_program, ARB_fragment_program
|
| |
This app provides a simple environment for learning
how to write a fragment
and vertex shaders. The app takes as arguments on it's
command line the
filename of the a fragment shader, the filename of a
vertex shader, the
filenames of up to eight textures, and the filename of
a model. Several batch
files provide examples of how to specify these different
options.
|
| |
The user interface for the app is primarily driven
by a common arc-
ball control. Additionally, the following keyboard commands
are used: |
-
-
- d - change the draw style between: solid,
deferred shading, wireframe, hidden-line, and overlaid wireframe
- s - toggle the stats display
- r - reload the shader files
- c - toggle back-face culling
- a - toggle line antialiasing
- Z - Zoom in
- X - Zoom out
- ARROWS - Pan the view
- [ESC] - Quit
|
| |
| |
- Related Resources
-
|
| |
- Requirements
-
- Radeon 9500 series product
Download
Simple_Shader.zip
|
| |