simon-budig / shadertoy Goto Github PK
View Code? Open in Web Editor NEWA standalone utility for rendering glsl shaders from shadertoy.
A standalone utility for rendering glsl shaders from shadertoy.
I think you need to append something along the lines of:
void main() { mainImage(gl_FragColor, gl_FragCoord.xy); }
to the end of the shader.. I guess that should probably be done in getshader.py
./getshader.py Ms2SD1
./shadertoy Seascape.glsl
GL_VERSION : 4.5.0 NVIDIA 375.66
GL_VENDOR : NVIDIA Corporation
GL_RENDERER : GeForce GTX 970M/PCIe/SSE2
GLEW_VERSION : 2.0.0
GLSL VERSION : 4.50 NVIDIA
shader failed to compile:
0(99) : error C1008: undefined variable "iTime"
0(100) : error C1008: undefined variable "iTime"
0(116) : error C1008: undefined variable "iTime"
0(117) : error C1008: undefined variable "iTime"
0(179) : error C1008: undefined variable "iTime"
Failed to link shader program. Aborting
It's been removed from the headers as of Linux 3.9 --- apparently they're recommending SO_REUSEADDR instead:
(So says http://stackoverflow.com/questions/3261965/so-reuseport-on-linux .)
Without a license, this project isn't open source and no one can use the code.
Please use something like http://choosealicense.com/ to decide what license to use. I recommend MIT or GPL.
Thank you for your tool. I'm on Linux.
Other than screen-capture do you have a recommendation how to render a shader directly to video?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.