summaryrefslogtreecommitdiff
path: root/progs/demos/arbfslight.c
AgeCommit message (Collapse)Author
2009-12-18progs/demos: fix glut initialization callsBrian Paul
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.
2009-02-24demos: add some fflushes for windowsKeith Whitwell
2007-10-27Fix fragment shader.michal
2007-09-29hack in some code to test loops, breakBrian
2007-09-28temporary hack to test nested conditionalsBrian
2007-04-26use sqrt(), not sqrtf() for WindowsBrian
2006-08-02Change fragment shader to utilize faster vec4 operations.Michal Krol
2006-04-25Remove carriage returns.Michal Krol
2006-02-21More GLSL code:Michal Krol
- 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%.
2006-02-18More GLSL code.Michal Krol
- general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
2006-02-15Demonstrate GLSL fragment and vertex shaders.Michal Krol