mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-11 13:10:57 +00:00
0415ba1e9f
* Fixes first shader not automatically closing by adding `u_time` (see patriciogonzalezvivo/glslViewer#142). * Use glslviewer's headless mode for generating images. * Update to latest Pandoc CLI arguments to fix Pandoc CLI errors. * Re-encode `12/accretion.jpg` and `13/holdsworth.jpg` to fix Pandoc jpg errors. * Update appendix 2 README for generating the book as a pdf.
10 lines
124 B
GLSL
10 lines
124 B
GLSL
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
uniform float u_time;
|
|
|
|
void main() {
|
|
gl_FragColor = vec4(1.0,0.0,1.0,1.0);
|
|
}
|