summaryrefslogtreecommitdiffstats
path: root/progs/demos/arbfslight.c
Commit message (Collapse)AuthorAgeFilesLines
* progs/demos: fix glut initialization callsBrian Paul2009-12-181-2/+1
| | | | | | | Remove glutInitWindowPosition() calls to play nicer with window managers. Move glutInitWindowSize() calls before glutInit() so the the default window size can be overridden by the -geometry cmd line option.
* demos: add some fflushes for windowsKeith Whitwell2009-02-241-0/+1
|
* Fix fragment shader.michal2007-10-271-1/+1
|
* hack in some code to test loops, breakBrian2007-09-291-1/+11
|
* temporary hack to test nested conditionalsBrian2007-09-281-0/+14
|
* use sqrt(), not sqrtf() for WindowsBrian2007-04-261-1/+1
|
* Change fragment shader to utilize faster vec4 operations.Michal Krol2006-08-021-23/+38
|
* Remove carriage returns.Michal Krol2006-04-251-106/+106
|
* More GLSL code:Michal Krol2006-02-211-21/+22
| | | | | | | - uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos); - fix bugs and optimize array size handling; - 2D texture sampling (needs Enable(TEXTURE_2D) to work); - decrease built-in library assembly size by 30%.
* More GLSL code.Michal Krol2006-02-181-23/+26
| | | | | | - general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
* Demonstrate GLSL fragment and vertex shaders.Michal Krol2006-02-151-0/+285