GLSL

chromadepth (Composition by gtoledo3)

Author: gtoledo3
License: MIT
Date: 2011.09.26
Compatibility: 10.4, 10.5, 10.6, 10.7
Categories:
Required plugins:
(none)

This is a glsl chroma depth shader; if you're familiar with the core image "heat map" style pixel filter, you're thinking along the right lines, except this shades vertices of 3D objects/scenes in this way.

This was created by Mike Bailey, Computer Science, Oregon State University, and found at his page at http://web.engr.oregonstate.edu/~mjb/chromadepth/glsl.html

Reaction Diffusion (Composition by gtoledo3)

Author: gtoledo3
License: BSD 3-clause
Date: 2011.08.22
Compatibility: 10.5, 10.6, 10.7
Categories:
Required plugins:
(none)

This is a grey-scott reaction diffusion simulation that's running in QC with the aid of a GLSL shader and feedback loop.

The fragment shader is from the Reaction Diffusion example from Cinder (http://libcinder.org/) without the vertex shader (Cinder does a texture flip with things at a certain point, which this doesn't need).

This is released under modified BSD license (re: Cinder).

Thanks to toneburst for his explorations in it, which got me interested in getting this sweeter than my previous experiments.

If you click down around the Viewer, you can clear out areas to let new pixel groups grow.

(The screencap for this has an early setup with a little bit of color tweaking; the example composition won't have the goldish hue.)

Lion GLSL - Initial Black Empty Space Render?

cybero's picture

I am finding that GLSL shaders are sometimes cropping up as black prior to rendering properly upon being stopped and restarted in QC 4.5 in Lion.

Anyone else?

Find attached one GLSL shader that has done this.

Doubtless it is fine and dandy as GLSL goes, so I guess the problem lies elsewhere, outside of the shader code.

That said , most of the examples that I could throw into the example thread are like, or pretty much like, the one posted here, which is pretty generic in its code, being simply the default shader accompanied by some stock patches

GLSL - swappable shaders

cybero's picture

I don't know if this is feasible, but I was wondering if it could ever be possible to 'hot swap' shaders on the fly?

What I mean is, create a composition, using a GLSL shader , then , either by means of a Boolean switch or some other Conditional switch , switch between different shaders.

Currently the only way close to this that I can envisage to achieve this is to have more than one GLSL patch and conditionally enabling / disabling shader patches.

That's surely down to the way that the GLSL Programming patch runs the GLSL code it contains and has no input for an alternate GLSL code stream.

Possibly a plugin [I don't mean that plugin to be containing the shaders to be switched between, but to allow shader listings to be loaded on the fly]?

reactive flower box (Composition by dust)

Author: dust
License: MIT
Date: 2011.03.31
Compatibility: 10.6
Categories:
Required plugins:
(none)

so i was messing around with some orbiting physics and noticed some real nice geometric shapes coming from my particle simulation. so i decided to see what this would look like as a mesh filter. turns out a box model gives you this flower like simulation. you can try it with any model. i'm going with the name box flower as sound flower is all ready taken. ;)