» Shadertoy Renderer
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Shadertoy Renderer

plugin 2d fragmentshader opengl glsl texture
Credits: shadertoy,OpenTK

about

Rendering GLSL fragment shader with shadertoy syntax and output vvvv texture(dx11).

shadertoy?

shadertoy is the web application to coding and sharing glsl fragment shader (pixel shader) using WebGL by Beautypi.
if you not familiar with shadertoy, see https://www.shadertoy.com.

how to use

just input shader code and play. shader input(uniforms) and main(void) function are managed in renderer node. you don't need write it.
other basic help, see shadertoy howto

input uniforms status

  • vec3 iResolution: ok
  • float iTime: ok (rename from iGlobalTime from v0.3)
  • float iTimeDelta: ok (from v0.2)
  • float iFrame: ok (from v0.2)
  • float iChannelTime[4]: no
  • vec4 iMouse: ok (fixed v0.2)
  • vec4 iDate: ok (from v0.2)
  • float iSampleRate: no
  • vec3 iChannelResolution[4]: no
  • samplerXX iChanneli: ok. use iChannel0,iChannel1,iChannel2,iChannel3

change log

v0.3(22.09.2018)
  • remove dx9 support
  • rename iGlobalTime to iTime
v0.2(13.03.2016)
  • dx11 support
  • add & fix input uniforms
  • multiple renderer support

work in progress

  • play even renderer hidden
  • video input and movie as texture

src

https://github.com/minoru-ito/ShadertoyRenderer

no editor, Sound shader, VR shader.

download

ShadertoyRenderer v0.3.zip
21.09.18 [17:39 UTC] by mino | 82 downloads
build on beta36 dx11
Show 3 older revisions

Older Revisions

ShadertoyRenderer v0.2 dx11.zip
13.03.16 [08:15 UTC] by mino | 638 downloads
ShadertoyRenderer v0.2 dx9.zip
13.03.16 [07:31 UTC] by mino | 203 downloads
ShadertoyRenderer v0.1.zip
21.02.16 [00:33 UTC] by mino | 181 downloads

agalloch21 21/02/2016 - 08:18

So great!!!
Thanks a lot!!!

DiMiX 21/02/2016 - 12:02

great! very handy! thanks

colorsound 21/02/2016 - 12:24

awesome ¡¡, thanks mino

tonfilm 21/02/2016 - 12:50

stunning, really stunning!

graphicuserinterface 21/02/2016 - 18:23

mega cool.

u7angel 21/02/2016 - 19:09

sick

Noir 21/02/2016 - 20:28

cool...
waiting for dx11 version

everyoneishappy 22/02/2016 - 03:03

Awesome!! +1 will also wait hopefully for dx11

isdzaurov 22/02/2016 - 05:15

wow, greate!

tekcor 22/02/2016 - 22:23

how cool is that :D

motzi 22/02/2016 - 22:41

great stuff! thank you mino!

vjc4 22/02/2016 - 22:56

Great!!
Is it possible to use the code as a standar shader on vvvv so we can create new variables and use it with other nodes ?

mino 23/02/2016 - 14:14

@vjc4
interesting but no plan about that. convert glsl to hlsl manually will best way, like this https://vvvv.org/contribution/shadertoys

bjoern 23/02/2016 - 14:41

cg compiler driver by nvidia supposedly does automated translation from GLSL to HLSL. Haven't tried it though.

catweasel 23/02/2016 - 22:57

@vjc4 just added a substitute sting patch for speeding up shader porting and the primatives raymarch example from shadertoy to the other page. The patch only gives you a start, you'll have to go and fix any(!) errors, mostly matrices without the right number of entries I think...

vjc4 24/02/2016 - 01:37

@catweasel yeah! it worked perfectly

499reality 25/02/2016 - 12:26

really great job.
thanks

mino 13/03/2016 - 08:16

dx11 support now!

Noir 13/03/2016 - 10:59

bigup for dx11 support

sinus 14/03/2016 - 09:13

thank you!

tonfilm 14/03/2016 - 19:24

hi @mino awesome work! i had a quick peek inside the dll and saw that the DX11 version uses a fast blockwise copy of the pixels. for the DX9 version you can also use a blockwise copy method, we have some example code here:

https://github.com/vvvv/vvvv-sdk/blob/develop/vvvv45/src/core/Utils3rdParty/SlimDX/TextureUtils.cs

or do you plan to open source the code on github or so?

mino 15/03/2016 - 13:51

@tonfilm hi, i forgot to add src link.
https://github.com/minoru-ito/ShadertoyRenderer
also added url to description. original texture is flipped vertically, so reverse it for vvvv

dr_qatz 09/04/2018 - 12:34

Hello,Minoru! To an unpleasant surprise for myself, I discovered that Shadertoy renderer (DX11) is not working in 50beta36 (red node), can you fix it?

mc2568 18/04/2018 - 15:21

I also got a red node, but I think it's more of a DX11 problem. The Shadertoy Renderer needs "IDX11ResourceProvider" but this was removed from DX11 versions 1.0.0 and later. After I downgraded to DX11 0.7.1, it worked.

andresc4 19/04/2018 - 05:47

any updates on the latest dx11 pack?

mrboni 02/08/2018 - 20:51

b36 dx11 version

Still only supports Open GL 1.3 so some newer shader functions don't work. (updating to OpenGL4 looks like a lot of work) Also doesn't support Shadertoy's multiple passes

Feel free to add to revisions above
https://www.dropbox.com/s/k6yiie22a36xl56/ShadertoyRenderer%20v0.2%20dx11%20b36.zip?dl=1

mino 06/08/2018 - 09:33

i didn't take care this plugin recently. it seems i need to update.

@mrboni
thanks, i'll check later ;)

mino 21/09/2018 - 16:43

build with beta36 and latest dx11. it should be work now.
there is no new feature with v0.3

tonfilm 22/09/2018 - 18:35

thanks for the update @mino!

metrowave 22/09/2018 - 22:19

Just had loads of fun with this, works great now, cheers @mino!

anonymous user login

Shoutbox

~22h ago

tonfilm: @beyon you can also use F# together with #vl, see: #fsharp #dotnet #visualprogramming https://github.com/vvvv/VL.DemoLib/tree/master/src/VL.FSharpDemoLib

~1d ago

beyon: tonfilm: Ok,currently using F# though but maybe I should look into sharpdx vs xenko math

~2d ago

tonfilm: @beyon #vl also fills these gaps with huge range of collision detection math from #sharpdx which is basically the same as #xenko's

~2d ago

tonfilm: vvvv #audio pack update: better buffer reader and fixed #vl template #visualprogramming #creativecoding #dotnet vvvv.audio-pack-alpha

~2d ago

beyon: microdee: Good, I found Xenko.Core.Mathematics filled many gaps in SlimDX ray/point/plane/bbox functions

~2d ago

microdee: "if you want to make a custom project only using Xenko graphics API without the full Xenko engine, you can!" https://xenko.com/blog/feature-spotlight-xenko-3-1-and-nuget/

~3d ago

m4d: @circuitb: looking good :)

~4d ago

joreg: berlin, london, paris, who's next? thanks for organizing this @sebescudie

~5d ago

sebescudie: in Paris and into #vvvv ? Let's have a bier next Wednesday ! https://bit.ly/2z4BnKQ