GLSL

Wave GLSL with Image Texture

gtoledo3's picture

I rewrote the shader here ( http://gpwiki.org/index.php/OpenGL:Codes:Simple_GLSL_example ) to have an image input for texture, and it's sort of fun, so I'm posting it here.

Deprecated GLSL Shaders

cybero's picture

http://developer.apple.com/mac/library/qa/qa2010/qa1679.html is the Developer URL that prompts a question from me, namely, relevant to QC [sooner rather than later]?

Mandelbox (Composition by psonice)

Author: psonice
License: MIT
Date: 2010.04.09
Compatibility: 10.5, 10.6
Categories:
Required plugins:
(none)

This is a 3d mandelbox plugin. It's rather awesome, both in coolness and hardware requirements ;) Use a SMALL window unless you have the latest and greatest GPU (I have a radeon 2600, and it gets near to smooth at around 320x240.

I'd love to say I invented it, but all I did was port it from HLSL to GLSL. I saw it in this sexy 1KB demo by Mad of Still: http://www.pouet.net/prod.php?which=54812 (source is in the download link, if you don't mind assembly.. the hlsl shader is in the data elements near the end of the source code). Mad found it on some fractal forum, so he didn't invent it either, but he does get some credit for making it run in 1kb :)

TruchetTile

cybero's picture

An RTSP Player utilising toneburst's TruchetTile composition, the link for which should work in Safari TruchetRTSP.

Note this is working without safe mode enabled for Safari, but then this doesn't actually use any Kineme plugins at all, just relies upon the installed Quartz Composer.webplugin.

One things for sure - it doesn't work in Leopard runtime - puzzling :-).

Does the above link actually work for anyone else on Leopard?

What about in Safari?

:-)

WebGL / Shader Toy

psonice's picture

It seems the web is about to get a lot cooler! Webkit, firefox and chrome now support WebGL (at least in the nightly/beta builds, if you enable it..) It's effectively accelerated opengl es 2.0, embedded in a browser. That means you can do full 3d, including shaders! \o/

If you want to play with it, you'll probably want to download the webkit nightly build from http://www.webkit.org and enable it by running this in terminal:

defaults write com.apple.Safari WebKitWebGLEnabled -bool YES

Then why not have a play with 'shader toy' that IQ made:

http://www.iquilezles.org/apps/shadertoy

He's even included a selection of 1kb/4kb demos in the presets :)