We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hey! im new in shaders world, and i asking if these examples are made with shaders. What do you think? in particular, in the first video, these particle-blur-dissolve effect. in the other video, the light effect that switch on and off. What way do you recommend to start shaders?
THANKYOU!
Comments
Videos here, doesnt show in the post :/
vimeo.com/222723783 vimeo.com/129664516
https://Vimeo.com/222723783
Tagging @nabr
Kf
https://processing.org/tutorials/pshader/
Hello
yes, you can use shaders. First Versum software is dated back to 2009 http://tarikbarri.nl/projects/versum Very well placed Java, Processing skills.
He using spheres and tubes, lines with a good feeling of colors in general.
particle-blur-dissolve is just single planes moving in 3D with with transparency (alpha blending). Shader its a very, very basic one, i currently forgot how to recreate, it's uv noise to a circle this comes close: http://glslsandbox.com/e#44064.0
the light effect that switch on and off, no idea what you are talking about. in general their are planes that are moving, rotating, and yes a light effect.
this comes close http://glslsandbox.com/e#43638.0
Best thing you start here: https://processing.org/tutorials/p3d/
U really need to understand how movement in 3D Space works.
http://www.codinglabs.net/article_world_view_projection_matrix.aspx
especially viewmatix (can't find any good link now) http://www.learnopengles.com/tag/view-matrix/
Before you ask yourself how to make things glow, or similar. Make sure you got the basics.
and then slowly move to here: https://processing.org/tutorials/pshader/
Also here (WebGL 1.0) http://thebookofshaders.com/
Their is always more to say. I would not going mad about shaders, shaders is just how history of computer graphics develops. If you learn processing, you also learn shaders.
Good Luck
Thank you nabr! I was reading the different sources. One question, in relation with the alpha blending (dont found blend Mode alpha in processing) how to recreate that in 3D?
Who ever reading this, Merry Christmas and Happy new Year.
Hello
Processing useful links
- https://processing.org/tutorials/color/
assume you have too Layers composed of
Alpha Blending ✨⚡️ ⚡️ ⚡️ ⛳️
The name Alpha Blending already suggest in has to do something to do with the alpha parameter.
background Color(r,g,b, 255 );
foreground Color(r,g,b, 127 );
( more in general as a programmer you can control how two separate colors are blended together )
Blendmodes useful links
BlendFunc inside a Shader:
processing java equivalent glsl
Low Lewel JOGL Processing (pseudocode untested):
https://github.com/processing/processing/wiki/Advanced-OpenGL
vimeo.com/222723783
If you look at this, you will notice, how colors are blended together, the most part is transparent, but some parts are shine through. Are those part additive subtractive - whatever?
maybe im also wrong > "its a very, very basic one", maybe its a complex function and close to a fractal. most imported part is that you ...
keep experimenting
haha! yes off course! thanks for answer my questions! im studying everything you said! surely i`ll write again in the next days!
Hello
no problem. Got some time to waste. Processing is made for a wide variety personalities, understandable you can not to please everybody. That said sometimes you have to dive deep into this forum to find an answer.
The Basic contept of alpha blending is that all shapes with opacae type contribute to the final image, normally the z-buffer is used to eliminate hidden surfaces, for performance reasons, - no need to render, what you don't see, - but in this case you want to disable this behaivor. hint(disable depth test) search result
So back in the 90ties people were breaking their heads, how to do perspective correct texture mapping , today it's done automatically in the GPU. Nobody want's to copy +paste the same math over and over again. Same goes for Alpha compositing. Their are more "advanced" techniques. Some are probably easier to implement LOW LEVEL Processing Jogl Mode ....
Just an other link. https://en.wikipedia.org/wiki/Order-independent_transparency https://en.wikibooks.org/wiki/GLSL_Programming/GLUT/Order-Independent_Transparency
Understanding the basic concept you can also implement somethink like this:
@vjjv did a little playground for you