Forums > MaxMSP

possible to attach shader straight to texture?

Feb 23 2013 | 11:23 pm

cant get it to work with the cf.edgedetect.jxs

I know that I can attach the shader to the instead but not what I want to do for different reasons …

thanks for help

-- Pasted Max Patch, click to expand. --

Feb 25 2013 | 7:22 pm

this is exactly what the object is for.
don’t create a and a simply create a and read in your shader file.

Feb 25 2013 | 9:47 pm

thanks, I figured it out. but what do you mean by dont create now I did put before is not that the way to go? like this:

-- Pasted Max Patch, click to expand. --

Feb 26 2013 | 10:01 pm

that’s fine.
alternatively you can simply connect the output of the gl.slab directly to the input of the gl.mesh, and remove the @texture attribute from the gl.mesh box.

two ways of doing the same thing.

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP