There's indeed a bug in the GLSL patch regarding RECT textures support, you're gonna have to use 2D textures for now

On Nov 3, 2007, at 11:03 AM, vade wrote:

Hello

Does GLSLShader and GLSLGrid support sampler2DRect? Ive attempted to port some very simple shader code to Quartz Composer, and while the video displays, if I use sampler2DRect/texture2DRect within GLSL Grid, I have these errors in my console, and my framerate stutters:

11/3/07 1:57:56 PM Quartz Composer[24317] *** Message from <QCGrid = 0x17E9DFC0 "Grid_1">:
Execution failed at time 68.144
11/3/07 1:57:56 PM Quartz Composer[24317] *** Message from <QCPatch = 0x1619BC50 "(null)">:
Execution failed at time 68.144
11/3/07 1:57:56 PM Quartz Composer[24317] *** <RenderView: 0x161d0420>: Render failed at time 68.143830s

However, it seems to 'mostly' work.

Attached is a modified GLSLShader patch with video input (ive used the default shader included when instantiating GLSLShader, but changed references of sampler2D to sampler2DRect, and same for texture.)

<Sampler2DRect.qtz>


_______________________________________________
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/pol%40apple.com

This email sent to [EMAIL PROTECTED]

________________________________
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]

Reply via email to