• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

shadertoys

Author: sebl
Date: 26 May, 2014
Category: effect
Credits:

inigo quilez, unc, levi, tekcor, m4d

Download

64bit

4-shadertoys_05.zip
19 Mar, 2016 - 17:36
0.5
3-shadertoys_04.zip
23 Feb, 2016 - 21:49
0.4
2-shadertoys_03.zip
06 Jun, 2014 - 12:26
0.3
1-shadertoys_02.zip
30 May, 2014 - 11:55
0.2
0-shadertoys.zip
26 May, 2014 - 11:44
0.1

Description

ported some shaders from https://www.shadertoy.com/ ...

feel free to optimize and update this contribution.

issues:

  • they'd better be written as .tfx
  • procedural noise is taking muuuch gpu - didn't get lut-versions to work
  • some glsl-leftovers
  • i'm sure there are more optimizations by using hlsl/dx11 advantages

/sebl

0.4 Added a ray marched primitives and a substitute(string) for converting the GLSL, look out for matrices that haven't been fully initiated (overloaded, I think is the term)

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
tekcor
26 May, 2014 - 14:48

yea nice one

Noir
26 May, 2014 - 23:19

Thanks sebl +1

milo
27 May, 2014 - 08:11

nice!

matka
27 May, 2014 - 11:37

good stuff, for those that have no idea about shaders, is it complicated to adapt shaders from shadertoys for use in vvvv? I see plenty of interesting material there

sebl
27 May, 2014 - 12:35

@matka: just compare the code from here with the oroginal code from shadertoy.com

lasal
27 May, 2014 - 19:43

Grande Sebl

kimiki
28 May, 2014 - 07:17

+1

u7angel
28 May, 2014 - 09:35

schick

psylion
28 May, 2014 - 10:41

+1 I would love to make the infinite city in vvvv https://www.shadertoy.com/view/4df3DS already tried a few times... but so many errors

catweasel
28 May, 2014 - 19:35

@psylon start a thread and post where you've got,and maybe someone will help... Seems like you could do a find and replace for many of them...

tekcor
30 May, 2014 - 11:58

yo i added julia3d, metacubes by levi and infinite city by unc

screamer
30 May, 2014 - 17:02

wowow, nice contribution ;)

unc
31 May, 2014 - 09:22

nice contrib!

@tekcor: infinite city is not mine, i just helped porting it=)

tekcor
01 Jun, 2014 - 16:09

yea actually the authoring here is a mess anyway.. in the end the shaders are from the people who put it on shadertoy, i just wrote who ported it.

princemio
08 Jun, 2014 - 09:14

Hey Sebls...Really nice work!!! thanks for sharing...do you actually know why there are those framerate drops? Do you experienced the same?

sebl
17 Jun, 2014 - 12:21

hey mio, i didn't recognize framerate drops. which shader? did you query/timestamp the shader to find out how much time it needs?

maybe you're talking about an issue that is now solved with b32.1 and latest dx11.

colorsound
18 Jun, 2014 - 11:54

nice , thanks

lecloneur
19 Jun, 2014 - 18:50

cool stuff bro, well done

eps
26 Jun, 2014 - 16:21

irwin, idwyr is not bro, rather sistah ::]

lecloneur
26 Jun, 2014 - 18:02

lol damn yeah,

sorry idwyr, my apologies.

idwyr
27 Jun, 2014 - 16:01

lecloneur, bro is ok! brofist

virtuos
27 Aug, 2015 - 10:20

hey idwyr!

nice work, i really like the cloud conversion and would like to use it. does the camera needs to be within the shader or can it be outsourced as well? since i am not as good in hlsl yet, i was wondering if you or anyone in this community would be able to take out the camera so the shader can be used with a camera (transform softimage) attached to the renderer. my attempts weren't too successful yet. i'll keep trying. thx

idwyr
23 Feb, 2016 - 22:37

virtous hey, i did not do the port of that one, but check out simple cam version https://drive.google.com/file/d/0BzGghep_Da_1V3Rjc3c5bmhkTkE/view?usp=sharing and ping me on skype if have questions ))

sinus
19 Mar, 2016 - 08:35

thank you very much! great job. helps me a lot atm.

Desaxismundi
19 Mar, 2016 - 13:46

I just made an update with new additions and fixes. enjoy!

guest
19 Mar, 2016 - 16:54

great

subplexus
06 Apr, 2016 - 08:33

awesome! love this!

so im totally new to hlsl, and admittedly its all completely abstract to me. (Coming from Cinema4D world, i just assumed a shader was simply a method of dressing a shape in 3d space... )

this stuff appears to be rocket science!

as an example, i saw "sculpture III" and had my socks blown clean off. the scope here for procedural dirt/rust maps is astonishing. this said, im struggling to get the generated geometry into my scene, it appears to only be a 2d texture...

... can i not add realtime shadows? dof? etc? control camera movement? is there even geometry generated..?

Desaxismundi
06 Apr, 2016 - 17:24

Most of the shadertoys effects are using a technique called Raymarching. If you want to add elements to the scene you should follow the same procedure. There are plenty of examples on how to achieve shadow mapping, reflections, DOF on the shadertoys site or even here inside the contribution. If you look inside "infinite city" a camera has been implemented there.

Some of the effects could be achieved on the geometry/vertex level. This "sculpture" thing is based on some sine deformations of a sphere.

I quickly hooked up an example for you showing this for the sinederformation.fx: https://dl.dropboxusercontent.com/u/14431143/VertexSineDeformations.zip

hope that helps.

Desaxismundi
28 Sep, 2016 - 06:34

Here's an example showing how to merge two shadertoys shaders together.

Adding reflections and shadows to the ribbons.fx from this contribution.

Get it there: https://dl.dropboxusercontent.com/u/14431143/Ribbons%2BReflections%2BShadows.zip

Hope that will be usefull to someone..

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top