Dear Community,

I find the Shadertoy node very interesting but I definitely have some problems with most of the Shadertoy compositions. They usually stay black although I use the workarounds here in the discussion board.

An example like this one, which I would really like to use: https://www.shadertoy.com/view/XslGRr In the appendix is the Vuo composition with the noise texture.

Maybe someone from you can explain to me what else needs to be changed in the code? Thank you very much for your effort in advance.

Best Citizen-Caine

Comments

Hi, @CitizenCaine. I see that

jstrecker's picture
Submitted by

Hi, CitizenCaine. I see that you already applied the workarounds here. Beyond that, you can check Console.app for errors and warnings…

ERROR: 0:141: Identifier name 'gl_FragColor' cannot start with 'gl_'
ERROR: 0:141: Identifier name 'gl_FragCoord' cannot start with 'gl_'

These are fixed by deleting the mainVR function.

ERROR: 0:14: Invalid call of undeclared identifier 'textureLod'
ERROR: 0:25: Use of undeclared identifier 'rg'
ERROR: 0:25: Use of undeclared identifier 'rg'

These are because Vuo's Shadertoy implementation doesn't know the textureLod function. Unfortunately it doesn't know the texelFetch function in the alternative branch either. Perhaps there's some code you could substitute in to get equivalent behavior, though I don't know what it would be.