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

Shaderbox

effect
Credits: shadertoy, sebl, Bradley Austin Davis, vvvv team

about

This is a bunch of DX11 effects that let you use shadertoys as skyboxes. I've borrowed the idea of doing this from Bradley Austin's book Oculus Rift in Action and decided to use it into the vvvv environment.

Background

Shadertoys were always magical things for me. There is infinite beauty in ability to build entire world with pure maths, using fractals, distance functions, raytracing and all the staff. The result can totally blows ones mind. But the problem is that shadertoy is a pixel shader. In three dimensional space it is represented as a quad with 2d texture. It reminds a window to another realm. You can't put a 3d model inside or use vvvv cameras to rotate the view.

What's in it

Shaderboxes allows you to immerse in shaders. This contribution contains some effects, witch you can use to wrap whole 3d scenes in shadertoys.

title

DIY

Besides a couple of converted shaders there is a small HowTo patch in /girlpower folder, that explains how to convert one particular shadertoy to skybox.

Dependences

  • Make sure you have DX11 pack

Practical use

I've created the contribution to play with it. Initially my main intention was to be able to travel through fractals in VR glasses, but I see more practical usage in creation of procedural skyboxes of all kinds.

download

Shaderbox.zip
13.08.18 [00:01 UTC] by umanema | 836 downloads
initial upload

andresc4 14/08/2018 - 06:55

Wow!
This looks awesome!
Did you make it work in VR ?

umanema 14/08/2018 - 08:59

Thanks, man

You can easily make it work in VR by adding shaderbox to the scene. Though some of the shaders are resource hogs and you have to keep an eye on fps.

avilahuerta 27/03/2019 - 20:59

Hello,

Thanks for your contribution. I had played myself with shadertoy shaders and ported to VVVV but with shaderbox it is easier. I have one question: i have seen in shadertoy that some shaders have buffers (bufferA, bufferB, ...). So far I did not manage to conevrt those shaders to be used in VVVV. Do you have suggestions on how to do it?.

Thanks a lot.

umanema 25/04/2019 - 11:46

Hey avilahuerta,

Sorry for the late answer. Basically buffers on Shadertoy are multiple passes, which means that you first render texture in a BufferA and pass it further to next buffer or a final shader part. I'm not aware if vvvv's hlsl implementation still does not support multiple passes. Probably not.

There is a basic workaround tutorial effects multiple passes
Just split the whole shader to several parts according to number of buffers and pass texture from one shader to another.

anonymous user login

Shoutbox

~17h ago

joreg: 2 day vvvv/fuse workshop in Vienna as part of NOISE festival on Sept. 13 and 14: https://www.noise.ist/vienna

~11d ago

joreg: New beginner video tutorial: World Cities https://youtu.be/ymzrK7tZLBI

~11d ago

catweasel: https://colour-burst.com/2023/01/26/macroscopic/ yeah, ' is there anyone who cares about slides anymore...' Well me for a start! :D

~21d ago

ventolinmono: The ELMO TRV-35 slides into your video feed > https://youtu.be/pcIM9mh1c9k?si=iB4FOfI2D6y0iETy

~1mth ago

joreg: The summer season of vvvv workshops is now complete, but you can still get access to all the recordings: https://thenodeinstitute.org/ss24-vvvv-intermediates/

~1mth ago

~2mth ago

joreg: Workshop on 01 08: Augmented Reality using OpenCV, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-augmented-reality-using-opencv-in-vvvv/

~2mth ago

joreg: Workshop on 18 07: Fluid simulations in FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-fluid-simulations-in-fuse/

~2mth ago

joreg: Workshop on 17 07: Working with particles in FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-working-with-particles-in-fuse/

~2mth ago

joreg: Here's what happened in June in our little univvvverse: https://visualprogramming.net/blog/2024/vvvvhat-happened-in-june-2024/