[Share] V-Module/Jitter Shaders for fractals 2D effects and for 3D materials
May be you got these already, as I shared them as part of the V-Module tool I made public a year ago, (see http://fabriziopoce.com/max.html), but here a few archives with shaders for fractal generation, a number of ported or original effects for matrix/texture/frame manipulation (both supposed to be used with jit.gl.slab) and a few shaders for lighting/materials (for use with jit.gl.shader and 3D objects).
You can see some of the results on my vimeo page: http://vimeo.com/june74
i would love to have a look into your shaders.
but i dont even get the 2d ones to work.
i put the following folders in my searchpath:
Jitter Shaders Collection
Jitter Shaders Pipeline
if i try to load the 0086-fp.zoom.jxs shader into the slab, i get the following error:
– START GLSL INFO LOG: fp –
ERROR: 0:3: ‘textureSize’ : no matching overloaded function found
ERROR: 0:3: ‘=’ : cannot convert from ‘const float’ to ’2-component vector of float’
– END GLSL INFO LOG: fp –
jit.gl.shader: GLSL program failed to compile.
same behaviour in max5 and max6.
i am on mac 10.6.8
here is my testpatch:
----------begin_max5_patcher---------- 604.3ocyV1rahCCDG+b3ovJmgn37M6otOGqpPF7PpQI1o1lRVp569hc.JsKj 0rPi5Ea4Ybx72+lIwyqi77mKZAkO5Gneg77dcjmm0jwf290d90j1EUDkca9b XiX9J+wctzPq1ZtRPnyI7xCNVJ3ZEaKXbhCCB2alutlwq.s8cge2nXs9yV6L o+cCzIOe6qG83d2MD8hmX7xYRXgtaGwQl.ghxrSoQlQbQP3wmgQsZcm9mfSN UobRsMJ9+TxHU9FGuMZjYXriXoFTJRI7WbQBDJhJ1BxfZwKWCchtN53BYhsw BkO0RlrySl36KXtP8xJlN3YsgIL.8.gRZzH7sW7DcI7rKdypIZIq0erivpvN gCS6sNZvnUYUfphLGYFlrP2hdXIqBPggEYSV1DrUHpCV0pNKCiulRrdYXY0L ipVKAW4XRWQWTRlcBedNlLjb7EFEDMUDNbBM0RBWsTHq2cDTfFEcMj7KuZLI sih4o8QwrAihaXbpXyQ78ExptaU9GTJCa+jM2VigMerdYHgCGxZMIvof7aFn 1WFgix6CTSGDNoQyQfjnfA.McwwA9jXadHKtO7TbewiVTVVcDB2RiRLt1gyH dZ2eTNNdtyX9cLQ+bMnkBTb7seE0+eOh6yuXageNtu7apa4W6i5Ww3etOZaz M1+HpTh0xEGz6gVQQuq.JnzLNQyD7S1T7G1ySLJErtO.sZFsQrKwuWCnGOad yUIU3fhvCphh+1oHWXzzAWQ36qhv3jfTy8EglotQ6haTp4N.uzAEdoNnnhAU QXGTTxfpHW9QU1MnncKdaze.Z8T3ZC -----------end_max5_patcher-----------
it would be great to have a helpfile or a tip how we can load your shaders.
The shader in question (like many other in the same bundle) makes use of the textureSize() GLSL function, which requires Open GL glsl version 1.30 or higher. It is probably not supported on you graphic card GL implementation.
The "0206-fp.kaleid.jxs" for instance does not. You should be able to load this, instead.
If you are practical with glsl you could try to implement a change in the shader to have this:
1) Add this in the vertex shader:
// Create a varying to be passed to the fragment shader
varying vec2 resolution;
// Get the texture size in the vertex shader
resolution = vec2 (abs(gl_TextureMatrix),abs(gl_TextureMatrix));
2) Remove this line in the fragment shader:
vec2 resolution = textureSize(tex0,0);
3) Replace the line just removed with this in the fragment shader:
varying vec2 resolution;
This should be supported in older GLSL implementations.
PS: about the help. May I have some time in the furture I will make some notes. For the time being, sorry, but it is what it is……
Thanks for the help.
My macbook pro, i bought last year does only support glgs 1.2
AMD Radeon HD 6750M
So i edided you shades.
I never wrote shader in my life, but i got something working.
I also made a litte helpfile.
Its all in the zip file attached.
some of the shaders have problems with the "gain_t" parameter.
all the best,
Interesting, I never had issue on my system.
I will check your versions out when I can.