michal
a1b4285c5c
Fix fragment shader.
18 years ago
Brian
2727cfddbf
hack in some code to test loops, break
18 years ago
Brian
9405ec6251
temporary hack to test nested conditionals
18 years ago
Brian
4a28548cbf
use sqrt(), not sqrtf() for Windows
18 years ago
Michal Krol
1616f5b621
Change fragment shader to utilize faster vec4 operations.
19 years ago
Michal Krol
6acf1e93a2
Remove carriage returns.
19 years ago
Michal Krol
cc1591667d
More GLSL code:
- 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%.
19 years ago
Michal Krol
3654193a4d
More GLSL code.
- general constructors allowed;
- implement noise functions (from Stefan Gustavson - thanks!)
- cosmetic stuff.
19 years ago
Michal Krol
3699751b0b
Demonstrate GLSL fragment and vertex shaders.
19 years ago