FSRC should look like this:
FSRC=: {{)n
#version $version
$f_in $lowp vec4 v_color;
$fragColor;
void main(void) {
$gl_fragColor= v_color;
}
}}
The names with preceding $ characters are not used literally -- they
are replaced in a fashion which depends on your machine's GLSL and
GLES_VERSION. In your case, '$gl_fragColor' becomes 'fragColor'. (See
the 'fixversion' verb for details.)
Anyways, ... I'll email you an instrumented copy of the script.
Thanks,
--
Raul
On Tue, Feb 8, 2022 at 11:43 PM Brian Schott <[email protected]> wrote:
>
> Raul,
>
> Yes, this was a fresh session.
> Otoh, I noticed that FSRC contains gl_fragColor
> which I think I read was not allowed, so I changed it in FSRC only to just
> fragColor.
> The good news is that I at least got black graphics panel, but it was
> blank; jQt did not quit unexpectedly.
>
> You can send me anything, but I can only try stuff when the Mac is not
> being used.
>
> On Tue, Feb 8, 2022 at 8:39 PM Raul Miller <[email protected]> wrote:
>
> > Was this in a fresh session?
> >
> > I have experienced that behavior when running the code after other
> > opengl code had been running. In some cases, that was because 'sprog'
> > existed, and represented a shader that I was not prepared to feed. But
> > it's quite possible that there's some other issues where I am assuming
> > a fresh opengl context and that's not what I am working with.
> >
> > If this was in a fresh session, however, (or, if you are really
> > interested in finding the interaction issue) I might have to ship you
> > a opy with a bunch of debug logging type statements, to determine
> > where it's shutting down.
> >
> > Thanks,
> >
> >
> > --
> > Raul
> >
> >
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm