|
GLSL shader weirdnessI have put a very simple composition here http://paulbourke.net/transient/Jafni/ The wird thing is that it works on many/most machines but occasionally it doesn't. It does not seem to be related to the graphics card. And today we had two iMacs, same OS version, same QC, same graphics card ... works on one and not the other. Ideas? ps: the bit that doesn't work is the middle top frame derived from the GLSL shader. pps: I've trimmed down the movies to short sections. |
Thought it might be a bit wise issue , not so though; rendering your composition in either 32 bit or 64 bit QC results equally in a black empty RII output onto the middle sphere.
Worked fine for me - 2010 mbp with an nvidia 330m
Just goes to show .. mine was an nvidia 9400m , iMac 2009 OS X 10.9 [updated install, not clean install]
Hey there Paul!
This works ok over here... (nVidia 9600, 10.8).
I'd suggest you check the Gatekeeper settings on both machines - make sure the one that isn't rendering correctly has it turned off. Apparently now Gatekeeper can somehow manage to prevent code from executing even though the plugin bundle has loaded and is able to be viewed in the editor. Since the part that isn't evaluating is inside the GL Ortho, it seems like this is a possible cause.
Maybe also scrutinize the vertex shader - I'm unsure that the if case really needs to be there, and if it does, you probably shouldn't be declaring phi first (though it shouldn't really make a difference). This makes it so that in the case that if rxy was to =0, you'd have an unused variable... which seems like it shouldn't be a problem, but I've seen things like this cause problems in edge cases.
Interesting point about Gatekeeper.
Not relevant in this case though.
Gatekeeper off here, Paul's composition not rendering the centre sphere; problem seems to be quite specific to either OS and / or machine build.
Working fine here mavericks and a GT 650M
Hey Cybero, does any image come out of the output port of the render in image, or is it dead there? Does the chain stop evaluating somewhere or does it just turn black somewhere along the way?
On the machines I find where it doesn't work, I get what looks like a blurred + pixellated image. See attached.