run shader without magenta error screen
This commit is contained in:
parent
0e8132135b
commit
bc5b87d73a
|
@ -1,6 +1,8 @@
|
|||
|
||||
# glslViewer order matters, single-dash options need to be before doubledashes? (at least for -p)
|
||||
|
||||
test:
|
||||
glslViewer main.frag video.mp4 -w 960 -h 540 -p 8881 --nocursor --fps30
|
||||
glslViewer main.frag video.mp4 -w 960 -h 540 -p 8881 -e "error_screen,off" --nocursor --fps30
|
||||
|
||||
test-gits:
|
||||
glslViewer main.frag gits.mp4 -w 960 -h 540 -p 8881 --nocursor --fps30
|
||||
glslViewer main.frag gits.mp4 -w 960 -h 540 -p 8881 -e "error_screen,off" --nocursor --fps30
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
precision mediump float;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// always available
|
||||
uniform vec2 u_mouse; // mouse pixel coordinates
|
||||
uniform vec2 u_resolution; // viewport resolution in pixels
|
||||
|
|
Loading…
Reference in New Issue