glsl - How to port ShaderToy to standalone OpenGL -
i've been looking @ shadertoy.
i have questions regarding shader code listed in examples. fragment shaders? syntax seem unfamiliar me. confused how examples being rendered without vertex shader or initialization code, such setting of textures etc.
can examples on shadertoy ported standalone opengl program , if how 1 go attempting that?
the basic shadertoy shader fragment shader applied on fullscreen quad. has more advanced features (such audio generation, vr-support , multi-pass rendering) basic idea.
so convert opengl program start rendering fullscreen rectangle simple vertex shader , use fragment shader shadertoy. might have change syntax check if syntax errors when shader compiled.
Comments
Post a Comment