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

Shadertoy Renderer

plugin
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 | 1123 downloads
build on beta36 dx11
Show 3 older revisions

Older Revisions

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

agalloch21 21/02/2016 - 09:18

So great!!!
Thanks a lot!!!

DiMiX 21/02/2016 - 13:02

great! very handy! thanks

colorsound 21/02/2016 - 13:24

awesome ¡¡, thanks mino

tonfilm 21/02/2016 - 13:50

stunning, really stunning!

graphicuserinterface 21/02/2016 - 19:23

mega cool.

u7angel 21/02/2016 - 20:09

sick

Noir 21/02/2016 - 21:28

cool...
waiting for dx11 version

everyoneishappy 22/02/2016 - 04:03

Awesome!! +1 will also wait hopefully for dx11

isdzaurov 22/02/2016 - 06:15

wow, greate!

tekcor 22/02/2016 - 23:23

how cool is that :D

motzi 22/02/2016 - 23:41

great stuff! thank you mino!

vjc4 22/02/2016 - 23: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 - 15: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 - 15:41

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

catweasel 23/02/2016 - 23: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 - 02:37

@catweasel yeah! it worked perfectly

499reality 25/02/2016 - 13:26

really great job.
thanks

mino 13/03/2016 - 09:16

dx11 support now!

Noir 13/03/2016 - 11:59

bigup for dx11 support

sinus 14/03/2016 - 10:13

thank you!

tonfilm 14/03/2016 - 20: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 - 14: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 - 13: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 - 16: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 - 06:47

any updates on the latest dx11 pack?

mrboni 02/08/2018 - 21: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 - 10: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 - 17:43

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

tonfilm 22/09/2018 - 19:35

thanks for the update @mino!

metrowave 22/09/2018 - 23:19

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

jib 29/01/2020 - 12:37

hi mino, I'm trying to use it with this code https://www.shadertoy.com/view/ltyGRV
with vvvv beta36, DX11. but I got this error log :

fragment shader:
0(32) : warning C7532: global function texture requires "#version 130" or later

any suggestion how to solve it ? thanks!

mino 12/02/2020 - 02:46

jib i'll check it.

mino 20/03/2020 - 19:01

jib i tried that code with beta36, but cannot see that error log.
could you upload files to reproduce your error? thanks.

anonymous user login

Shoutbox

~9d ago

joreg: Postponed: Next vvvv beginner course starting April 29: https://thenodeinstitute.org/courses/vvvv-beginner-class-summer-2024/

~1mth ago

~1mth ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/

~2mth ago

schlonzo: Love the new drag and drop functionality for links in latest previews!

~2mth ago

joreg: Workshop on 29 02: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/