Jitter shader

flecheria's icon
Max Patch
Copy patch and select New From Clipboard in Max.

HI
I'm trying to replicate this shader http://glsl.heroku.com/e#11398.1 with Max,
but I don't understand how to load the shader.
Can someone give me an hint?
I rewrite the shader inside a jxs file (see below)
I really appreciate your help. Thanks.
Paolo

my_shader_00.maxpat
Max Patch
flecheria's icon

I can upload the shader, here it is

    the first time I write a shader

Rob Ramirez's icon

cool shader!
here ya go.

Max Patch
Copy patch and select New From Clipboard in Max.

the time parameter can be generated using cpuclock
mouse coordinates are output from the jit.window.
resolution should be set from the size of the jit.window.

flecheria's icon

cool ya!!
thanks Rob, with your help I write my first shader, finally!

artoo's icon

Hi Rob - your patch should load and run the .jxs file in the post above?

i guess i need to save this as shader_test.jxs?

Where do I need to save it for your patch to work?

vichug's icon

@artoo : copy the shader text in Flecheria's post into a blank text file, and save it as shader_test.jxs somewhere in your max search path ; then copy and launch Rob's patch (don't forget to either double clic the loadmess objects or save and relaunch the patch)

artoo's icon

Thanks vichug!!!