I'm writing a plugin that uses GLSL internally for some rendering
stuff. Outside of a GLSL Shader patch, it works exactly as expected.
Inside a GLSL patch, it's a bit trickier: I want to utilize the
GLSL's fragment shader, but use my vertex shader. Doing this is
fairly easy, the question comes down to timing.
I wouldn't recommend doing this at all: the GLSL macro patch wasn't
designed to have sub-patches play with the currently loaded GLSL
shaders, so it's very fragile.
________________________________
Pierre-Olivier Latour - [EMAIL PROTECTED]
Technologist - Apple, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]